Package org.apache.calcite.jdbc
Interface CalciteMetaTableFactory
- All Known Implementing Classes:
CalciteMetaTableFactoryImpl
public interface CalciteMetaTableFactory
Factory for creating instances of
MetaImpl.MetaTable
.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.avatica.MetaImpl.MetaTable
createTable
(Table table, String tableCat, String tableSchem, String tableName) Instantiates a MetaTable.Returns the list of expected column names.Class<? extends org.apache.calcite.avatica.MetaImpl.MetaTable>
Returns the type of object created.
-
Method Details
-
createTable
org.apache.calcite.avatica.MetaImpl.MetaTable createTable(Table table, String tableCat, String tableSchem, String tableName) Instantiates a MetaTable. -
getColumnNames
Returns the list of expected column names.The default implementation returns the columns described in the JDBC specification.
-
getMetaTableClass
Class<? extends org.apache.calcite.avatica.MetaImpl.MetaTable> getMetaTableClass()Returns the type of object created. Must be a subclass of MetaTable.
-