public class WriteWindowedToBigQuery<T> extends WriteToBigQuery<T>
WriteToBigQuery
to require windowing; so this subclass may be used for writes that require access to the
context's window information.| Modifier and Type | Class and Description |
|---|---|
protected class |
WriteWindowedToBigQuery.BuildRowFn
Convert each key/score pair into a BigQuery TableRow.
|
WriteToBigQuery.FieldInfo<T>fieldInfo, tableNamename| Constructor and Description |
|---|
WriteWindowedToBigQuery(String tableName,
Map<String,WriteToBigQuery.FieldInfo<T>> fieldInfo) |
| Modifier and Type | Method and Description |
|---|---|
PDone |
apply(PCollection<T> teamAndScore) |
getSchemagetDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validatepublic WriteWindowedToBigQuery(String tableName, Map<String,WriteToBigQuery.FieldInfo<T>> fieldInfo)
public PDone apply(PCollection<T> teamAndScore)
apply in class WriteToBigQuery<T>Copyright © 2016 The Apache Software Foundation. All rights reserved.