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