Class BeamCalciteSchema
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.BeamCalciteSchema
- All Implemented Interfaces:
 org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
public class BeamCalciteSchema
extends Object
implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
Adapter from 
TableProvider to Schema.- 
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 TypeMethodDescriptionorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.tree.ExpressiongetExpression(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus parentSchema, String name) Collection<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function> getFunctions(String name) org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemagetSubSchema(String name) If this is the root schema (in other words, aCatalogManager), the sub schema will be aCatalog's metastore.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.RelProtoDataTypebooleanvoidvoidvoidsetPipelineOption(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 version) 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
- 
getTableProvider
 - 
getCatalogManager
 - 
getPipelineOptions
 - 
setPipelineOption
 - 
removePipelineOption
 - 
removeAllPipelineOptions
public void removeAllPipelineOptions() - 
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 version) - Specified by:
 snapshotin 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(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus parentSchema, String name) - Specified by:
 getExpressionin 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
 - 
getType
public @Nullable org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelProtoDataType getType(String name) - Specified by:
 getTypein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
 - 
getTypeNames
- Specified by:
 getTypeNamesin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
 - 
getTable
- Specified by:
 getTablein 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
 - 
getFunctions
public Collection<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Function> getFunctions(String name) - Specified by:
 getFunctionsin 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
 - 
getSubSchema
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema getSubSchema(String name) If this is the root schema (in other words, aCatalogManager), the sub schema will be aCatalog's metastore.Otherwise, the sub-schema is derived from the
TableProviderimplementation.- Specified by:
 getSubSchemain interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Schema
 - 
resolveMetastore
 
 -