public abstract class ResultSetMetaData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ResultSetMetaData.EClass
Metadata for sets of results that contain instances of classes.
|
protected static class |
ResultSetMetaData.EDataType
Metadata for sets of results that contain values of data types.
|
Modifier | Constructor and Description |
---|---|
protected |
ResultSetMetaData() |
Modifier and Type | Method and Description |
---|---|
protected int |
checkBounds(int index)
Checks that the specified index is within the appropriate bounds.
|
static IResultSetMetaData |
create(EClassifier type)
Creates result set metadata of the appropriate kind, depending on whether the specified
type is a class or a data type.
|
protected abstract EClassifier |
getColumnClassifier(int index) |
int |
getColumnDisplayLength(int index) |
java.lang.String |
getColumnLabel(int index) |
int |
getColumnType(int index) |
java.lang.String |
getColumnTypeName(int index) |
int |
getPrecision(int index) |
int |
getScale(int index) |
int |
isNullable(int index) |
public static IResultSetMetaData create(EClassifier type)
type
- the type of objects result set described by the new metadataprotected int checkBounds(int index) throws OdaException
index
- the 1-based indexOdaException
- if index is not within the boundspublic java.lang.String getColumnLabel(int index) throws OdaException
OdaException
protected abstract EClassifier getColumnClassifier(int index) throws OdaException
OdaException
public int getColumnType(int index) throws OdaException
OdaException
public java.lang.String getColumnTypeName(int index) throws OdaException
OdaException
public int getColumnDisplayLength(int index) throws OdaException
OdaException
public int getPrecision(int index) throws OdaException
OdaException
public int getScale(int index) throws OdaException
OdaException
public int isNullable(int index) throws OdaException
OdaException