Class CatalogManagerCalciteSchema
java.lang.Object
org.apache.flink.table.planner.catalog.FlinkSchema
org.apache.flink.table.planner.catalog.CatalogManagerCalciteSchema
- All Implemented Interfaces:
org.apache.calcite.schema.Schema
Bridge between the
CatalogManager and the Schema. This way we can query Flink's
specific catalogs from Calcite.
The mapping for Catalogs is modeled as a strict two-level reference structure for
Flink in Calcite, the full path of objects is of format
[catalog_name].[db_name].[meta-object_name].
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
org.apache.calcite.schema.Schema.TableType -
Constructor Summary
ConstructorsConstructorDescriptionCatalogManagerCalciteSchema(org.apache.flink.table.catalog.CatalogManager catalogManager, boolean isStreamingMode) -
Method Summary
Modifier and TypeMethodDescriptioncopy()org.apache.calcite.linq4j.tree.ExpressiongetExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name) org.apache.calcite.schema.SchemagetSubSchema(String name) org.apache.calcite.schema.TablebooleanMethods inherited from class org.apache.flink.table.planner.catalog.FlinkSchema
getFunctionNames, getFunctions, getSchemaVersion, getType, getTypeNames, snapshot
-
Constructor Details
-
CatalogManagerCalciteSchema
public CatalogManagerCalciteSchema(org.apache.flink.table.catalog.CatalogManager catalogManager, boolean isStreamingMode)
-
-
Method Details
-
getTable
-
getTableNames
-
getSubSchema
-
getSubSchemaNames
-
getExpression
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name) -
isMutable
public boolean isMutable() -
copy
- Specified by:
copyin classFlinkSchema
-