public interface ResultSetMetadata
To create a resultsetmetadata object, call
Statement.getResultSetMetadata
.
This interface is implemented internally. Applications do not implement this interface.
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Get the number of columns in a row of a result.
|
java.lang.String |
getColumnLabel(int columnNumber)
Get the column label associated with the specified column number.
|
java.lang.String |
getColumnName(int columnNumber)
Get the original column name, as defined in the datagrid, of a result column.
|
java.lang.String |
getColumnTableName(int columnNumber)
Get the name of a table associated with a column from the resultsetmetadata object.
|
ColumnType |
getColumnType(int columnNumber)
Get the column type from the resultsetmetadata object
for a particular column.
|
boolean |
isColumnNullable(int columnNumber)
Determine whether the specified column can have null values.
|
int getColumnCount() throws DataGridException
DataGridException
- in case of failuresjava.lang.String getColumnName(int columnNumber) throws DataGridException
columnNumber
- The number of the column.DataGridException
- in case of failuresjava.lang.String getColumnLabel(int columnNumber) throws DataGridException
columnNumber
- The number of the column.DataGridException
- in case of failuresColumnType getColumnType(int columnNumber) throws DataGridException
columnNumber
- The number of the column.ColumnType
DataGridException
- in case of failuresjava.lang.String getColumnTableName(int columnNumber) throws DataGridException
columnNumber
- The number of the column.DataGridException
- in case of failuresboolean isColumnNullable(int columnNumber) throws DataGridException
columnNumber
- The number of the column.DataGridException
- in case of failures