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, wait
buildIOReader, buildIOWriter, getSchema, isBounded
public BeamTableStatistics getTableStatistics(PipelineOptions options)
BeamSqlTable
getTableStatistics
in interface BeamSqlTable
public PCollection<Row> buildIOReader(PBegin begin, BeamSqlTableFilter filters, java.util.List<java.lang.String> fieldNames)
BeamSqlTable
PCollection<Row>
from source with predicate and/or project pushed-down.buildIOReader
in interface BeamSqlTable
public BeamSqlTableFilter constructFilter(java.util.List<org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rex.RexNode> filter)
BeamSqlTable
BeamSqlTableFilter
for predicate push-down.constructFilter
in interface BeamSqlTable
public ProjectSupport supportsProjects()
BeamSqlTable
supportsProjects
in interface BeamSqlTable