Package org.apache.drill.jdbc.impl
Class DrillResultSetMetaDataImpl
java.lang.Object
org.apache.calcite.avatica.AvaticaResultSetMetaData
org.apache.drill.jdbc.impl.DrillResultSetMetaDataImpl
- All Implemented Interfaces:
ResultSetMetaData
,Wrapper
public class DrillResultSetMetaDataImpl
extends org.apache.calcite.avatica.AvaticaResultSetMetaData
-
Field Summary
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
Constructor Summary
ConstructorDescriptionDrillResultSetMetaDataImpl
(org.apache.calcite.avatica.AvaticaStatement statement, Object query, org.apache.calcite.avatica.Meta.Signature signature) -
Method Summary
Modifier and TypeMethodDescriptiongetCatalogName
(int columnNumber) getColumnClassName
(int columnNumber) int
int
getColumnDisplaySize
(int columnNumber) getColumnLabel
(int columnNumber) getColumnName
(int columnNumber) int
getColumnType
(int columnNumber) getColumnTypeName
(int columnNumber) int
getPrecision
(int columnNumber) int
getScale
(int columnNumber) getSchemaName
(int columnNumber) getTableName
(int columnNumber) boolean
isAutoIncrement
(int columnNumber) boolean
isCaseSensitive
(int columnNumber) boolean
isCurrency
(int columnNumber) boolean
isDefinitelyWritable
(int columnNumber) int
isNullable
(int columnNumber) boolean
isReadOnly
(int columnNumber) boolean
isSearchable
(int columnNumber) boolean
isSigned
(int columnNumber) boolean
isWritable
(int columnNumber) Methods inherited from class org.apache.calcite.avatica.AvaticaResultSetMetaData
isWrapperFor, unwrap
-
Constructor Details
-
DrillResultSetMetaDataImpl
public DrillResultSetMetaDataImpl(org.apache.calcite.avatica.AvaticaStatement statement, Object query, org.apache.calcite.avatica.Meta.Signature signature)
-
-
Method Details
-
getColumnCount
- Specified by:
getColumnCount
in interfaceResultSetMetaData
- Overrides:
getColumnCount
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isAutoIncrement
- Specified by:
isAutoIncrement
in interfaceResultSetMetaData
- Overrides:
isAutoIncrement
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isCaseSensitive
- Specified by:
isCaseSensitive
in interfaceResultSetMetaData
- Overrides:
isCaseSensitive
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isSearchable
- Specified by:
isSearchable
in interfaceResultSetMetaData
- Overrides:
isSearchable
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isCurrency
- Specified by:
isCurrency
in interfaceResultSetMetaData
- Overrides:
isCurrency
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isNullable
- Specified by:
isNullable
in interfaceResultSetMetaData
- Overrides:
isNullable
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isSigned
- Specified by:
isSigned
in interfaceResultSetMetaData
- Overrides:
isSigned
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnDisplaySize
- Specified by:
getColumnDisplaySize
in interfaceResultSetMetaData
- Overrides:
getColumnDisplaySize
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnLabel
- Specified by:
getColumnLabel
in interfaceResultSetMetaData
- Overrides:
getColumnLabel
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnName
- Specified by:
getColumnName
in interfaceResultSetMetaData
- Overrides:
getColumnName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getSchemaName
- Specified by:
getSchemaName
in interfaceResultSetMetaData
- Overrides:
getSchemaName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecision
in interfaceResultSetMetaData
- Overrides:
getPrecision
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getScale
- Specified by:
getScale
in interfaceResultSetMetaData
- Overrides:
getScale
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getTableName
- Specified by:
getTableName
in interfaceResultSetMetaData
- Overrides:
getTableName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getCatalogName
- Specified by:
getCatalogName
in interfaceResultSetMetaData
- Overrides:
getCatalogName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnType
- Specified by:
getColumnType
in interfaceResultSetMetaData
- Overrides:
getColumnType
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnTypeName
- Specified by:
getColumnTypeName
in interfaceResultSetMetaData
- Overrides:
getColumnTypeName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isReadOnly
- Specified by:
isReadOnly
in interfaceResultSetMetaData
- Overrides:
isReadOnly
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isWritable
- Specified by:
isWritable
in interfaceResultSetMetaData
- Overrides:
isWritable
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
isDefinitelyWritable
- Specified by:
isDefinitelyWritable
in interfaceResultSetMetaData
- Overrides:
isDefinitelyWritable
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-
getColumnClassName
- Specified by:
getColumnClassName
in interfaceResultSetMetaData
- Overrides:
getColumnClassName
in classorg.apache.calcite.avatica.AvaticaResultSetMetaData
- Throws:
SQLException
-