public class StreamingWriteTables extends PTransform<PCollection<KV<TableDestination,com.google.api.services.bigquery.model.TableRow>>,WriteResult>
TableRow entries and the
TableDestination it should be written to. The BigQuery streaming-write service is used
to stream these writes to the appropriate table.
This transform assumes that all destination tables already exist by the time it sees a write for that table.
name| Constructor and Description |
|---|
StreamingWriteTables() |
| Modifier and Type | Method and Description |
|---|---|
WriteResult |
expand(PCollection<KV<TableDestination,com.google.api.services.bigquery.model.TableRow>> input) |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic WriteResult expand(PCollection<KV<TableDestination,com.google.api.services.bigquery.model.TableRow>> input)
expand in class PTransform<PCollection<KV<TableDestination,com.google.api.services.bigquery.model.TableRow>>,WriteResult>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.