public abstract class BaseBeamTable extends java.lang.Object implements BeamSqlTable
BeamSqlTable.| Constructor and Description |
|---|
BaseBeamTable() |
| Modifier and Type | Method and Description |
|---|---|
PCollection<Row> |
buildIOReader(PBegin begin,
BeamSqlTableFilter filters,
java.util.List<java.lang.String> fieldNames)
create a
PCollection<Row> from source with predicate and/or project pushed-down. |
BeamSqlTableFilter |
constructFilter(java.util.List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexNode> filter)
Generate an IO implementation of
BeamSqlTableFilter for predicate push-down. |
BeamTableStatistics |
getTableStatistics(PipelineOptions options)
Estimates the number of rows or the rate for unbounded Tables.
|
ProjectSupport |
supportsProjects()
Whether project push-down is supported by the IO API.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildIOReader, buildIOWriter, getSchema, isBoundedpublic BeamTableStatistics getTableStatistics(PipelineOptions options)
BeamSqlTablegetTableStatistics in interface BeamSqlTablepublic PCollection<Row> buildIOReader(PBegin begin, BeamSqlTableFilter filters, java.util.List<java.lang.String> fieldNames)
BeamSqlTablePCollection<Row> from source with predicate and/or project pushed-down.buildIOReader in interface BeamSqlTablepublic BeamSqlTableFilter constructFilter(java.util.List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexNode> filter)
BeamSqlTableBeamSqlTableFilter for predicate push-down.constructFilter in interface BeamSqlTablepublic ProjectSupport supportsProjects()
BeamSqlTablesupportsProjects in interface BeamSqlTable