Class CatalogManagerSchema
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.CatalogManagerSchema
- All Implemented Interfaces:
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
public class CatalogManagerSchema
extends Object
implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
A Calcite
Schema that corresponds to a CatalogManager. This is typically the root
node of a pipeline. Child schemas are of type CatalogSchema.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema.TableType -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCatalog(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIdentifier catalogIdentifier, String type, Map<String, String> properties, boolean replace, boolean ifNotExists) voiddropCatalog(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIdentifier identifier, boolean ifExists) getCatalogSchema(TableName tablePath) org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.tree.ExpressiongetExpression(@Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus schemaPlus, String s) Collection<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function> @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemagetSubSchema(@Nullable String name) @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Table@Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelProtoDataTypebooleanvoidmaybeRegisterProvider(TableName path, String type) voidvoidvoidsetPipelineOption(String key, String value) org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schemasnapshot(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaVersion schemaVersion) voiduseCatalog(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIdentifier catalogIdentifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
subSchemas, tables
-
Method Details
-
connection
-
createCatalog
-
useCatalog
public void useCatalog(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIdentifier catalogIdentifier) -
dropCatalog
public void dropCatalog(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIdentifier identifier, boolean ifExists) -
maybeRegisterProvider
-
getTable
public @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Table getTable(String table) - Specified by:
getTablein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getTableNames
- Specified by:
getTableNamesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getCatalogSchema
-
getCurrentCatalogSchema
-
getSubSchema
public @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema getSubSchema(@Nullable String name) - Specified by:
getSubSchemain interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getSubSchemaNames
- Specified by:
getSubSchemaNamesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
setPipelineOption
-
removePipelineOption
-
removeAllPipelineOptions
public void removeAllPipelineOptions() -
getTypeNames
- Specified by:
getTypeNamesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getType
public @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelProtoDataType getType(String s) - Specified by:
getTypein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getFunctions
public Collection<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function> getFunctions(String s) - Specified by:
getFunctionsin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getFunctionNames
- Specified by:
getFunctionNamesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
getExpression
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.tree.Expression getExpression(@Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus schemaPlus, String s) - Specified by:
getExpressionin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-
snapshot
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema snapshot(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaVersion schemaVersion) - Specified by:
snapshotin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
-