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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInternal constructor; protected to allow subclassing. -
Method Summary
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.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:CalciteMetaTableFactoryInstantiates a MetaTable.- Specified by:
createTablein interfaceCalciteMetaTableFactory
-
getMetaTableClass
Description copied from interface:CalciteMetaTableFactoryReturns the type of object created. Must be a subclass of MetaTable.- Specified by:
getMetaTableClassin interfaceCalciteMetaTableFactory
-