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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInternal constructor; protected to allow subclassing. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.avatica.MetaImpl.MetaColumncreateColumn(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, waitMethods 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:CalciteMetaColumnFactoryInstantiates a MetaColumn.- Specified by:
createColumnin interfaceCalciteMetaColumnFactory
-
getMetaColumnClass
Description copied from interface:CalciteMetaColumnFactoryReturns the type of object created. Must be a subclass of MetaColumn.- Specified by:
getMetaColumnClassin interfaceCalciteMetaColumnFactory
-