Class BeamPCollectionTable<InputT>
java.lang.Object
org.apache.beam.sdk.extensions.sql.meta.BaseBeamTable
org.apache.beam.sdk.extensions.sql.meta.SchemaBaseBeamTable
org.apache.beam.sdk.extensions.sql.impl.schema.BeamPCollectionTable<InputT>
- All Implemented Interfaces:
Serializable
,BeamSqlTable
BeamPCollectionTable
converts a PCollection<Row>
as a virtual table, then a
downstream query can query directly.- See Also:
-
Field Summary
Fields inherited from class org.apache.beam.sdk.extensions.sql.meta.SchemaBaseBeamTable
schema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildIOReader
(PBegin begin) create aPCollection<Row>
from source.buildIOWriter
(PCollection<Row> input) create aIO.write()
instance to write to target.Whether this table is bounded (known to be finite) or unbounded (may or may not be finite).Methods inherited from class org.apache.beam.sdk.extensions.sql.meta.SchemaBaseBeamTable
getSchema
Methods inherited from class org.apache.beam.sdk.extensions.sql.meta.BaseBeamTable
buildIOReader, constructFilter, getTableStatistics, supportsProjects
-
Constructor Details
-
BeamPCollectionTable
-
-
Method Details
-
isBounded
Description copied from interface:BeamSqlTable
Whether this table is bounded (known to be finite) or unbounded (may or may not be finite). -
buildIOReader
Description copied from interface:BeamSqlTable
create aPCollection<Row>
from source. -
buildIOWriter
Description copied from interface:BeamSqlTable
create aIO.write()
instance to write to target.
-