Package org.apache.calcite.jdbc
Class CalciteMetaTableFactoryImpl
java.lang.Object
org.apache.calcite.jdbc.CalciteMetaTableFactoryImpl
- All Implemented Interfaces:
CalciteMetaTableFactory
Default implementation of CalciteMetaTableFactory.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Internal constructor; protected to allow subclassing. -
Method Summary
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.CalciteMetaTableFactory
getColumnNames
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
CalciteMetaTableFactoryImpl
protected CalciteMetaTableFactoryImpl()Internal constructor; protected to allow subclassing.
-
-
Method Details
-
createTable
public CalciteMetaImpl.CalciteMetaTable createTable(Table table, String tableCat, String tableSchem, String tableName) Description copied from interface:CalciteMetaTableFactory
Instantiates a MetaTable.- Specified by:
createTable
in interfaceCalciteMetaTableFactory
-
getMetaTableClass
Description copied from interface:CalciteMetaTableFactory
Returns the type of object created. Must be a subclass of MetaTable.- Specified by:
getMetaTableClass
in interfaceCalciteMetaTableFactory
-