Package com.clickhouse.jdbc
Class ClickHouseResultSetMetaData
java.lang.Object
com.clickhouse.jdbc.JdbcWrapper
com.clickhouse.jdbc.ClickHouseResultSetMetaData
- All Implemented Interfaces:
ResultSetMetaData,Wrapper
-
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClickHouseResultSetMetaData(JdbcConfig config, String database, String table, List<ClickHouseColumn> columns, JdbcTypeMapping mapper, Map<String, Class<?>> typeMap) -
Method Summary
Modifier and TypeMethodDescriptiongetCatalogName(int column) protected ClickHouseColumngetColumn(int index) getColumnClassName(int column) intintgetColumnDisplaySize(int column) getColumnLabel(int column) getColumnName(int column) protected List<ClickHouseColumn>intgetColumnType(int column) getColumnTypeName(int column) intgetPrecision(int column) intgetScale(int column) getSchemaName(int column) getTableName(int column) booleanisAutoIncrement(int column) booleanisCaseSensitive(int column) booleanisCurrency(int column) booleanisDefinitelyWritable(int column) intisNullable(int column) booleanisReadOnly(int column) booleanisSearchable(int column) booleanisSigned(int column) booleanisWritable(int column) static ResultSetMetaDataof(JdbcConfig config, String database, String table, List<ClickHouseColumn> columns, JdbcTypeMapping mapper, Map<String, Class<?>> typeMap) Methods inherited from class com.clickhouse.jdbc.JdbcWrapper
isWrapperFor, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
ClickHouseResultSetMetaData
protected ClickHouseResultSetMetaData(JdbcConfig config, String database, String table, List<ClickHouseColumn> columns, JdbcTypeMapping mapper, Map<String, Class<?>> typeMap)
-
-
Method Details
-
of
public static ResultSetMetaData of(JdbcConfig config, String database, String table, List<ClickHouseColumn> columns, JdbcTypeMapping mapper, Map<String, Class<?>> typeMap) throws SQLException- Throws:
SQLException
-
getColumns
-
getColumn
- Throws:
SQLException
-
getColumnCount
- Specified by:
getColumnCountin interfaceResultSetMetaData- Throws:
SQLException
-
isAutoIncrement
- Specified by:
isAutoIncrementin interfaceResultSetMetaData- Throws:
SQLException
-
isCaseSensitive
- Specified by:
isCaseSensitivein interfaceResultSetMetaData- Throws:
SQLException
-
isSearchable
- Specified by:
isSearchablein interfaceResultSetMetaData- Throws:
SQLException
-
isCurrency
- Specified by:
isCurrencyin interfaceResultSetMetaData- Throws:
SQLException
-
isNullable
- Specified by:
isNullablein interfaceResultSetMetaData- Throws:
SQLException
-
isSigned
- Specified by:
isSignedin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnDisplaySize
- Specified by:
getColumnDisplaySizein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnLabel
- Specified by:
getColumnLabelin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnName
- Specified by:
getColumnNamein interfaceResultSetMetaData- Throws:
SQLException
-
getSchemaName
- Specified by:
getSchemaNamein interfaceResultSetMetaData- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecisionin interfaceResultSetMetaData- Throws:
SQLException
-
getScale
- Specified by:
getScalein interfaceResultSetMetaData- Throws:
SQLException
-
getTableName
- Specified by:
getTableNamein interfaceResultSetMetaData- Throws:
SQLException
-
getCatalogName
- Specified by:
getCatalogNamein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnType
- Specified by:
getColumnTypein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnTypeName
- Specified by:
getColumnTypeNamein interfaceResultSetMetaData- Throws:
SQLException
-
isReadOnly
- Specified by:
isReadOnlyin interfaceResultSetMetaData- Throws:
SQLException
-
isWritable
- Specified by:
isWritablein interfaceResultSetMetaData- Throws:
SQLException
-
isDefinitelyWritable
- Specified by:
isDefinitelyWritablein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnClassName
- Specified by:
getColumnClassNamein interfaceResultSetMetaData- Throws:
SQLException
-