public interface YdbResultSetMetaData extends ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex(String columnName)
Returns column index by it's name, could be useful sometimes; basically because in YDB you should always
work with names (columns or parameters), indexes are just internal details
|
default Collection<String> |
getColumnNames()
Returns all column names
|
tech.ydb.table.values.Type |
getYdbType(int column)
Returns native YDB type for column
|
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritableisWrapperFor, unwraptech.ydb.table.values.Type getYdbType(int column)
throws SQLException
column - column, 1..NSQLExceptionint getColumnIndex(String columnName) throws SQLException
columnName - column name to findSQLException - if column is unknowndefault Collection<String> getColumnNames() throws SQLException
SQLException - in case something bad happensCopyright © 2024. All rights reserved.