Class BaseBeamTable
java.lang.Object
org.apache.beam.sdk.extensions.sql.meta.BaseBeamTable
- All Implemented Interfaces:
- BeamSqlTable
- Direct Known Subclasses:
- HCatalogTable,- SchemaBaseBeamTable
Basic implementation of 
BeamSqlTable.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildIOReader(PBegin begin, BeamSqlTableFilter filters, List<String> fieldNames) create aPCollection<Row>from source with predicate and/or project pushed-down.constructFilter(List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rex.RexNode> filter) Generate an IO implementation ofBeamSqlTableFilterfor predicate push-down.getTableStatistics(PipelineOptions options) Estimates the number of rows or the rate for unbounded Tables.Whether project push-down is supported by the IO API.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.extensions.sql.meta.BeamSqlTablebuildIOReader, buildIOWriter, getSchema, isBounded
- 
Constructor Details- 
BaseBeamTablepublic BaseBeamTable()
 
- 
- 
Method Details- 
getTableStatisticsDescription copied from interface:BeamSqlTableEstimates the number of rows or the rate for unbounded Tables. If it is not possible to estimate the row count or rate it will return BeamTableStatistics.BOUNDED_UNKNOWN.- Specified by:
- getTableStatisticsin interface- BeamSqlTable
 
- 
buildIOReaderpublic PCollection<Row> buildIOReader(PBegin begin, BeamSqlTableFilter filters, List<String> fieldNames) Description copied from interface:BeamSqlTablecreate aPCollection<Row>from source with predicate and/or project pushed-down.- Specified by:
- buildIOReaderin interface- BeamSqlTable
 
- 
constructFilterpublic BeamSqlTableFilter constructFilter(List<org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rex.RexNode> filter) Description copied from interface:BeamSqlTableGenerate an IO implementation ofBeamSqlTableFilterfor predicate push-down.- Specified by:
- constructFilterin interface- BeamSqlTable
 
- 
supportsProjectsDescription copied from interface:BeamSqlTableWhether project push-down is supported by the IO API.- Specified by:
- supportsProjectsin interface- BeamSqlTable
 
 
-