public abstract class BaseBeamTable extends java.lang.Object implements BeamSqlTable
BeamSqlTable
methods used by predicate and filter push-down.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. |
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, getTableStatistics, isBounded
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