public interface BeamSqlTable
Modifier and Type | Method and Description |
---|---|
PCollection<Row> |
buildIOReader(Pipeline pipeline)
create a
PCollection<BeamSqlRow> from source. |
PTransform<? super PCollection<Row>,PDone> |
buildIOWriter()
create a
IO.write() instance to write to target. |
RowType |
getRowType()
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>,PDone> buildIOWriter()
IO.write()
instance to write to target.RowType getRowType()