Package org.apache.calcite.jdbc
Class CalciteMetaColumnFactoryImpl
java.lang.Object
org.apache.calcite.jdbc.CalciteMetaColumnFactoryImpl
- All Implemented Interfaces:
CalciteMetaColumnFactory
Default implementation of CalciteMetaColumnFactoryImpl.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Internal constructor; protected to allow subclassing. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.avatica.MetaImpl.MetaColumn
createColumn
(Table table, String tableCat, String tableSchem, String tableName, String columnName, int dataType, String typeName, Integer columnSize, @Nullable Integer decimalDigits, int numPrecRadix, int nullable, Integer charOctetLength, int ordinalPosition, String isNullable) Instantiates a MetaColumn.Class<? extends org.apache.calcite.avatica.MetaImpl.MetaColumn>
Returns the type of object created.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.jdbc.CalciteMetaColumnFactory
getColumnNames
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
CalciteMetaColumnFactoryImpl
protected CalciteMetaColumnFactoryImpl()Internal constructor; protected to allow subclassing.
-
-
Method Details
-
createColumn
public org.apache.calcite.avatica.MetaImpl.MetaColumn createColumn(Table table, String tableCat, String tableSchem, String tableName, String columnName, int dataType, String typeName, Integer columnSize, @Nullable Integer decimalDigits, int numPrecRadix, int nullable, Integer charOctetLength, int ordinalPosition, String isNullable) Description copied from interface:CalciteMetaColumnFactory
Instantiates a MetaColumn.- Specified by:
createColumn
in interfaceCalciteMetaColumnFactory
-
getMetaColumnClass
Description copied from interface:CalciteMetaColumnFactory
Returns the type of object created. Must be a subclass of MetaColumn.- Specified by:
getMetaColumnClass
in interfaceCalciteMetaColumnFactory
-