public interface BeamSqlTable
Modifier and Type | Method and Description |
---|---|
PCollection<Row> |
buildIOReader(Pipeline pipeline)
create a
PCollection<BeamSqlRow> from source. |
PTransform<? super PCollection<Row>,POutput> |
buildIOWriter()
create a
IO.write() instance to write to target. |
Schema |
getSchema()
Get the schema info of the table.
|
BeamIOType |
getSourceType()
In Beam SQL, there's no difference between a batch query and a streaming query.
|
BeamIOType getSourceType()
BeamIOType
is used to validate the sources.PCollection<Row> buildIOReader(Pipeline pipeline)
PCollection<BeamSqlRow>
from source.PTransform<? super PCollection<Row>,POutput> buildIOWriter()
IO.write()
instance to write to target.Schema getSchema()