Class BeamCalciteTable
- java.lang.Object
-
- org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.impl.AbstractTable
-
- org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.adapter.java.AbstractQueryableTable
-
- org.apache.beam.sdk.extensions.sql.impl.BeamCalciteTable
-
- All Implemented Interfaces:
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ModifiableTable,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.QueryableTable,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Table,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.TranslatableTable,org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Wrapper
public class BeamCalciteTable extends org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.adapter.java.AbstractQueryableTable implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ModifiableTable, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.TranslatableTableAdapter fromBeamSqlTableto a calcite Table.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.Queryable<T>asQueryable(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus schema, java.lang.String tableName)@Nullable java.util.CollectiongetModifiableCollection()org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypegetRowType(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)BeamTableStatisticsgetStatistic()static BeamCalciteTableof(BeamSqlTable table)org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.TableModifytoModificationRel(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCluster cluster, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable table, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.prepare.Prepare.CatalogReader catalogReader, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelNode child, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.TableModify.Operation operation, @Nullable java.util.List<java.lang.String> updateColumnList, @Nullable java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rex.RexNode> sourceExpressionList, boolean flattened)org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelNodetoRel(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable relOptTable)-
Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.adapter.java.AbstractQueryableTable
getElementType, getExpression
-
Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.impl.AbstractTable
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.QueryableTable
getElementType, getExpression
-
-
-
-
Method Detail
-
of
public static BeamCalciteTable of(BeamSqlTable table)
-
getRowType
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataType getRowType(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
- Specified by:
getRowTypein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Table
-
getStatistic
public BeamTableStatistics getStatistic()
- Specified by:
getStatisticin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.Table- Overrides:
getStatisticin classorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.impl.AbstractTable
-
toRel
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelNode toRel(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable.ToRelContext context, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable relOptTable)- Specified by:
toRelin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.TranslatableTable
-
asQueryable
public <T> org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.Queryable<T> asQueryable(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.linq4j.QueryProvider queryProvider, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.SchemaPlus schema, java.lang.String tableName)- Specified by:
asQueryablein interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.QueryableTable
-
getModifiableCollection
public @Nullable java.util.Collection getModifiableCollection()
- Specified by:
getModifiableCollectionin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ModifiableTable
-
toModificationRel
public org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.TableModify toModificationRel(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCluster cluster, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptTable table, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.prepare.Prepare.CatalogReader catalogReader, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.RelNode child, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.core.TableModify.Operation operation, @Nullable java.util.List<java.lang.String> updateColumnList, @Nullable java.util.List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rex.RexNode> sourceExpressionList, boolean flattened)- Specified by:
toModificationRelin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.schema.ModifiableTable
-
-