public class BeamCalciteSchema
extends java.lang.Object
implements org.apache.calcite.schema.Schema
TableProvider
to Schema
.Constructor and Description |
---|
BeamCalciteSchema(TableProvider tableProvider) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.linq4j.tree.Expression |
getExpression(org.apache.calcite.schema.SchemaPlus parentSchema,
java.lang.String name) |
java.util.Set<java.lang.String> |
getFunctionNames() |
java.util.Collection<org.apache.calcite.schema.Function> |
getFunctions(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
getPipelineOptions() |
org.apache.calcite.schema.Schema |
getSubSchema(java.lang.String name) |
java.util.Set<java.lang.String> |
getSubSchemaNames() |
org.apache.calcite.schema.Table |
getTable(java.lang.String name) |
java.util.Set<java.lang.String> |
getTableNames() |
TableProvider |
getTableProvider() |
boolean |
isMutable() |
org.apache.calcite.schema.Schema |
snapshot(org.apache.calcite.schema.SchemaVersion version) |
public BeamCalciteSchema(TableProvider tableProvider)
public TableProvider getTableProvider()
public java.util.Map<java.lang.String,java.lang.String> getPipelineOptions()
public boolean isMutable()
isMutable
in interface org.apache.calcite.schema.Schema
public org.apache.calcite.schema.Schema snapshot(org.apache.calcite.schema.SchemaVersion version)
snapshot
in interface org.apache.calcite.schema.Schema
public org.apache.calcite.linq4j.tree.Expression getExpression(org.apache.calcite.schema.SchemaPlus parentSchema, java.lang.String name)
getExpression
in interface org.apache.calcite.schema.Schema
public java.util.Set<java.lang.String> getTableNames()
getTableNames
in interface org.apache.calcite.schema.Schema
public org.apache.calcite.schema.Table getTable(java.lang.String name)
getTable
in interface org.apache.calcite.schema.Schema
public java.util.Set<java.lang.String> getFunctionNames()
getFunctionNames
in interface org.apache.calcite.schema.Schema
public java.util.Collection<org.apache.calcite.schema.Function> getFunctions(java.lang.String name)
getFunctions
in interface org.apache.calcite.schema.Schema
public java.util.Set<java.lang.String> getSubSchemaNames()
getSubSchemaNames
in interface org.apache.calcite.schema.Schema
public org.apache.calcite.schema.Schema getSubSchema(java.lang.String name)
getSubSchema
in interface org.apache.calcite.schema.Schema