@Internal public class CatalogCalciteSchema extends FlinkSchema
Constructor and Description |
---|
CatalogCalciteSchema(String catalogName,
CatalogManager catalog,
boolean isStreamingMode) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.linq4j.tree.Expression |
getExpression(org.apache.calcite.schema.SchemaPlus parentSchema,
String name) |
org.apache.calcite.schema.Schema |
getSubSchema(String schemaName)
Look up a sub-schema (database) by the given sub-schema name.
|
Set<String> |
getSubSchemaNames() |
org.apache.calcite.schema.Table |
getTable(String name) |
Set<String> |
getTableNames() |
boolean |
isMutable() |
getFunctionNames, getFunctions, getType, getTypeNames, snapshot
public CatalogCalciteSchema(String catalogName, CatalogManager catalog, boolean isStreamingMode)
public org.apache.calcite.schema.Schema getSubSchema(String schemaName)
schemaName
- name of sub-schema to look uppublic org.apache.calcite.schema.Table getTable(String name)
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus parentSchema, String name)
public boolean isMutable()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.