public interface ResultSetMetadataProvides information about the schema of a ResultSet.
Methods
getColumnIndex(String columnName)
public abstract int getColumnIndex(String columnName)| Parameter | |
|---|---|
| Name | Description | 
| columnName | Stringname of the column | 
| Returns | |
|---|---|
| Type | Description | 
| int | index of the column with the given name | 
getColumnType(int columnIndex)
public abstract SqlType<?> getColumnType(int columnIndex)| Parameter | |
|---|---|
| Name | Description | 
| columnIndex | intindex of the column | 
| Returns | |
|---|---|
| Type | Description | 
| SqlType<?> | the SqlType of the column at the given index | 
getColumnType(String columnName)
public abstract SqlType<?> getColumnType(String columnName)| Parameter | |
|---|---|
| Name | Description | 
| columnName | Stringname of the column | 
| Returns | |
|---|---|
| Type | Description | 
| SqlType<?> | the SqlType of the column with the given name | 
getColumns()
public abstract List<ColumnMetadata> getColumns()| Returns | |
|---|---|
| Type | Description | 
| List<ColumnMetadata> | full list of ColumnMetadata for each column in the ResultSet. |