public class YdbResultSetMetaDataImpl extends Object implements YdbResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogName(int column) |
String |
getColumnClassName(int column) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int column) |
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
|
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
int |
getColumnType(int column) |
String |
getColumnTypeName(int column) |
int |
getPrecision(int column) |
int |
getScale(int column) |
String |
getSchemaName(int column) |
String |
getTableName(int column) |
tech.ydb.table.values.Type |
getYdbType(int column)
Returns native YDB type for column
|
boolean |
isAutoIncrement(int column) |
boolean |
isCaseSensitive(int column) |
boolean |
isCurrency(int column) |
boolean |
isDefinitelyWritable(int column) |
int |
isNullable(int column) |
boolean |
isReadOnly(int column) |
boolean |
isSearchable(int column) |
boolean |
isSigned(int column) |
boolean |
isWrapperFor(Class<?> iface) |
boolean |
isWritable(int column) |
<T> T |
unwrap(Class<T> iface) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnNamespublic int getColumnCount()
getColumnCount in interface ResultSetMetaDatapublic boolean isAutoIncrement(int column)
isAutoIncrement in interface ResultSetMetaDatapublic boolean isCaseSensitive(int column)
isCaseSensitive in interface ResultSetMetaDatapublic boolean isSearchable(int column)
isSearchable in interface ResultSetMetaDatapublic boolean isCurrency(int column)
isCurrency in interface ResultSetMetaDatapublic int isNullable(int column)
throws SQLException
isNullable in interface ResultSetMetaDataSQLExceptionpublic boolean isSigned(int column)
isSigned in interface ResultSetMetaDatapublic int getColumnDisplaySize(int column)
getColumnDisplaySize in interface ResultSetMetaDatapublic String getColumnLabel(int column) throws SQLException
getColumnLabel in interface ResultSetMetaDataSQLExceptionpublic String getColumnName(int column) throws SQLException
getColumnName in interface ResultSetMetaDataSQLExceptionpublic String getSchemaName(int column)
getSchemaName in interface ResultSetMetaDatapublic int getPrecision(int column)
getPrecision in interface ResultSetMetaDatapublic int getScale(int column)
getScale in interface ResultSetMetaDatapublic String getTableName(int column)
getTableName in interface ResultSetMetaDatapublic String getCatalogName(int column)
getCatalogName in interface ResultSetMetaDatapublic int getColumnType(int column)
throws SQLException
getColumnType in interface ResultSetMetaDataSQLExceptionpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName in interface ResultSetMetaDataSQLExceptionpublic boolean isReadOnly(int column)
isReadOnly in interface ResultSetMetaDatapublic boolean isWritable(int column)
isWritable in interface ResultSetMetaDatapublic boolean isDefinitelyWritable(int column)
isDefinitelyWritable in interface ResultSetMetaDatapublic String getColumnClassName(int column) throws SQLException
getColumnClassName in interface ResultSetMetaDataSQLExceptionpublic tech.ydb.table.values.Type getYdbType(int column)
throws SQLException
YdbResultSetMetaDatagetYdbType in interface YdbResultSetMetaDatacolumn - column, 1..NSQLExceptionpublic int getColumnIndex(String columnName) throws SQLException
YdbResultSetMetaDatagetColumnIndex in interface YdbResultSetMetaDatacolumnName - column name to findSQLException - if column is unknownpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface)
isWrapperFor in interface WrapperCopyright © 2024. All rights reserved.