Package org.apache.calcite.jdbc
Interface CalciteMetaColumnFactory
- All Known Implementing Classes:
CalciteMetaColumnFactoryImpl
public interface CalciteMetaColumnFactory
Factory for creating instances of
MetaImpl.MetaColumn
.-
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.Returns the list of expected column names.Class<? extends org.apache.calcite.avatica.MetaImpl.MetaColumn>
Returns the type of object created.
-
Method Details
-
createColumn
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) Instantiates a MetaColumn. -
getColumnNames
Returns the list of expected column names.The default implementation returns the columns described in the JDBC specification.
-
getMetaColumnClass
Class<? extends org.apache.calcite.avatica.MetaImpl.MetaColumn> getMetaColumnClass()Returns the type of object created. Must be a subclass of MetaColumn.
-