Class FlinkCalciteCatalogReader
- java.lang.Object
-
- org.apache.calcite.prepare.CalciteCatalogReader
-
- org.apache.flink.table.planner.plan.FlinkCalciteCatalogReader
-
- All Implemented Interfaces:
org.apache.calcite.plan.RelOptSchema
,org.apache.calcite.prepare.Prepare.CatalogReader
,org.apache.calcite.schema.Wrapper
,org.apache.calcite.sql.SqlOperatorTable
,org.apache.calcite.sql.validate.SqlValidatorCatalogReader
- Direct Known Subclasses:
FlinkCalciteCatalogSnapshotReader
public class FlinkCalciteCatalogReader extends org.apache.calcite.prepare.CalciteCatalogReader
Flink specificCalciteCatalogReader
that changes the RelOptTable which wrapped aCatalogSchemaTable
to aFlinkPreparingTableBase
.
-
-
Constructor Summary
Constructors Constructor Description FlinkCalciteCatalogReader(org.apache.calcite.jdbc.CalciteSchema rootSchema, List<List<String>> defaultSchemas, org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, org.apache.calcite.config.CalciteConnectionConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.prepare.Prepare.PreparingTable
getTable(List<String> names)
-
Methods inherited from class org.apache.calcite.prepare.CalciteCatalogReader
createTypeFromProjection, field, getAllSchemaObjectNames, getConfig, getNamedType, getOperatorList, getRootSchema, getSchemaPaths, getTableForMember, getTypeFactory, isCaseSensitive, lookupOperatorOverloads, matches, nameMatcher, operatorTable, registerRules, unwrap, withSchemaPath
-
-
-
-
Method Detail
-
getTable
public org.apache.calcite.prepare.Prepare.PreparingTable getTable(List<String> names)
- Specified by:
getTable
in interfaceorg.apache.calcite.prepare.Prepare.CatalogReader
- Specified by:
getTable
in interfaceorg.apache.calcite.sql.validate.SqlValidatorCatalogReader
- Overrides:
getTable
in classorg.apache.calcite.prepare.CalciteCatalogReader
-
-