public class BigQueryTornadoes
extends java.lang.Object
Concepts: Reading/writing BigQuery; counting a PCollection; user-defined PTransforms
Note: Before running this example, you must create a BigQuery dataset to contain your output table.
To execute this pipeline locally, specify the BigQuery table for the output with the form:
--output=YOUR_PROJECT_ID:DATASET_ID.TABLE_ID
To change the runner, specify:
--runner=YOUR_SELECTED_RUNNER
See examples/java/README.md for instructions about how to configure different runners.
The BigQuery input table defaults to clouddataflow-readonly:samples.weather_stations
and can be overridden with --input.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BigQueryTornadoes.Options
Options supported by
BigQueryTornadoes. |
| Constructor and Description |
|---|
BigQueryTornadoes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyBigQueryTornadoes(org.apache.beam.sdk.Pipeline p,
BigQueryTornadoes.Options options) |
static void |
main(java.lang.String[] args) |
static void |
runBigQueryTornadoes(BigQueryTornadoes.Options options) |
public static void applyBigQueryTornadoes(org.apache.beam.sdk.Pipeline p,
BigQueryTornadoes.Options options)
public static void runBigQueryTornadoes(BigQueryTornadoes.Options options)
public static void main(java.lang.String[] args)