public class BeamCalciteTable
extends org.apache.calcite.adapter.java.AbstractQueryableTable
implements org.apache.calcite.schema.ModifiableTable, org.apache.calcite.schema.TranslatableTable
BeamSqlTable
to a calcite Table.Modifier and Type | Method and Description |
---|---|
<T> org.apache.calcite.linq4j.Queryable<T> |
asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider,
org.apache.calcite.schema.SchemaPlus schema,
java.lang.String tableName) |
java.util.Collection |
getModifiableCollection() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
static BeamCalciteTable |
of(BeamSqlTable table) |
org.apache.calcite.rel.core.TableModify |
toModificationRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.prepare.Prepare.CatalogReader catalogReader,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.core.TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<org.apache.calcite.rex.RexNode> sourceExpressionList,
boolean flattened) |
org.apache.calcite.rel.RelNode |
toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context,
org.apache.calcite.plan.RelOptTable relOptTable) |
getElementType, getExpression
getJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static BeamCalciteTable of(BeamSqlTable table)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
getRowType
in interface org.apache.calcite.schema.Table
public org.apache.calcite.rel.RelNode toRel(org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.calcite.plan.RelOptTable relOptTable)
toRel
in interface org.apache.calcite.schema.TranslatableTable
public <T> org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.calcite.schema.SchemaPlus schema, java.lang.String tableName)
asQueryable
in interface org.apache.calcite.schema.QueryableTable
public java.util.Collection getModifiableCollection()
getModifiableCollection
in interface org.apache.calcite.schema.ModifiableTable
public org.apache.calcite.rel.core.TableModify toModificationRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptTable table, org.apache.calcite.prepare.Prepare.CatalogReader catalogReader, org.apache.calcite.rel.RelNode child, org.apache.calcite.rel.core.TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<org.apache.calcite.rex.RexNode> sourceExpressionList, boolean flattened)
toModificationRel
in interface org.apache.calcite.schema.ModifiableTable