public interface ResultSetMetadata
ResultSet.| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex(String columnName) |
List<ColumnMetadata> |
getColumns() |
SqlType<?> |
getColumnType(int columnIndex) |
SqlType<?> |
getColumnType(String columnName) |
List<ColumnMetadata> getColumns()
ColumnMetadata for each column in the ResultSet.SqlType<?> getColumnType(int columnIndex)
columnIndex - index of the columnSqlType of the column at the given indexSqlType<?> getColumnType(String columnName)
columnName - name of the columnSqlType of the column with the given nameIllegalArgumentException - if there is no column with the name *or* if there are multiple
columns with the given nameint getColumnIndex(String columnName)
columnName - name of the columnIllegalArgumentException - if there is no column with the name *or* if there are multiple
columns with the given nameCopyright © 2026 Google LLC. All rights reserved.