public class PrepareWrite<T,DestinationT> extends PTransform<PCollection<T>,PCollection<KV<DestinationT,com.google.api.services.bigquery.model.TableRow>>>
PCollection for writing to BigQuery. Use the table function to determine
which tables each element is written to, and format the element into a TableRow using the
user-supplied format function.name| Constructor and Description |
|---|
PrepareWrite(DynamicDestinations<T,DestinationT> dynamicDestinations,
SerializableFunction<T,com.google.api.services.bigquery.model.TableRow> formatFunction) |
| Modifier and Type | Method and Description |
|---|---|
PCollection<KV<DestinationT,com.google.api.services.bigquery.model.TableRow>> |
expand(PCollection<T> input) |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic PrepareWrite(DynamicDestinations<T,DestinationT> dynamicDestinations, SerializableFunction<T,com.google.api.services.bigquery.model.TableRow> formatFunction)
public PCollection<KV<DestinationT,com.google.api.services.bigquery.model.TableRow>> expand(PCollection<T> input)
expand in class PTransform<PCollection<T>,PCollection<KV<DestinationT,com.google.api.services.bigquery.model.TableRow>>>Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.