|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that represents the meta-data of an IResultSet object. An IResultSetMetaData object represents a row containing meta-data for each column in the result set.
Note: All indices in this interface are 1-based.
Field Summary | |
static int |
columnNoNulls
The constant indicating that a column does not allow NULL value. |
static int |
columnNullable
The constant indicating that a column allows NULL value. |
static int |
columnNullableUnknown
The constant indicating that the nullability of a column's values is unknown. |
Method Summary | |
int |
getColumnCount()
Returns the number of columns in the corresponding IResultSet object. |
int |
getColumnDisplayLength(int index)
Returns the display length of the specific column. |
java.lang.String |
getColumnLabel(int index)
Returns the designated column's suggested title for use in the column heading and/or display name. |
java.lang.String |
getColumnName(int index)
Returns the name of the specific column. |
int |
getColumnType(int index)
Returns the data provider specific code of the column's data type. |
java.lang.String |
getColumnTypeName(int index)
Returns the data provider specific name of the column's data type. |
int |
getPrecision(int index)
Returns the maximum number of decimal digits of the specific column. |
int |
getScale(int index)
Returns the maximum number of digits to the right of the decimal point of the specific column. |
int |
isNullable(int index)
Indicates the nullability of values in the designated column. |
Field Detail |
public static final int columnNoNulls
NULL
value.
public static final int columnNullable
NULL
value.
public static final int columnNullableUnknown
Method Detail |
public int getColumnCount() throws OdaException
OdaException
- if data source error occurs.public java.lang.String getColumnName(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public java.lang.String getColumnLabel(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public int getColumnType(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public java.lang.String getColumnTypeName(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public int getColumnDisplayLength(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public int getPrecision(int index) throws OdaException
index
- column number (1-based).
OdaException
- if data source error occurs.public int getScale(int index) throws OdaException
index
- column number.
OdaException
- if data source error occurs.public int isNullable(int index) throws OdaException
index
- column number
OdaException
- if data source error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |