@Experimental public class BeamBigQueryTable extends BaseBeamTable implements java.io.Serializable
BeamBigQueryTable
represent a BigQuery table as a target. This provider does not
currently support being a source.schema
Constructor and Description |
---|
BeamBigQueryTable(Schema beamSchema,
java.lang.String tableSpec) |
Modifier and Type | Method and Description |
---|---|
PCollection<Row> |
buildIOReader(PBegin begin)
create a
PCollection<Row> from source. |
POutput |
buildIOWriter(PCollection<Row> input)
create a
IO.write() instance to write to target. |
getSchema
public BeamBigQueryTable(Schema beamSchema, java.lang.String tableSpec)
public PCollection<Row> buildIOReader(PBegin begin)
BeamSqlTable
PCollection<Row>
from source.buildIOReader
in interface BeamSqlTable
public POutput buildIOWriter(PCollection<Row> input)
BeamSqlTable
IO.write()
instance to write to target.buildIOWriter
in interface BeamSqlTable