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