Class StreamingWordExtract
- java.lang.Object
-
- org.apache.beam.examples.complete.StreamingWordExtract
-
public class StreamingWordExtract extends java.lang.ObjectA streaming Beam Example using BigQuery output.This pipeline example reads lines of the input text file, splits each line into individual words, capitalizes those words, and writes the output to a BigQuery table.
The example is configured to use the default BigQuery table from the example common package (there are no defaults for a general Beam pipeline). You can override them by using the --bigQueryDataset, and --bigQueryTable options. If the BigQuery table do not exist, the example will try to create them.
The example will try to cancel the pipelines on the signal to terminate the process (CTRL-C) and then exits.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamingWordExtract.StreamingWordExtractOptionsOptions supported byStreamingWordExtract.
-
Constructor Summary
Constructors Constructor Description StreamingWordExtract()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Sets up and starts streaming pipeline.
-