public class DistinctExample
extends java.lang.Object
Concepts: the Distinct transform, and how to wire transforms together. Demonstrates TextIO.Read/ Distinct/TextIO.Write.
To execute this pipeline locally, specify a local output file or output prefix on GCS: --output=[YOUR_LOCAL_FILE | gs://YOUR_OUTPUT_PREFIX]
To change the runner, specify:
--runner=YOUR_SELECTED_RUNNER
See examples/java/README.md for instructions about how to configure different runners.
The input defaults to gs://apache-beam-samples/shakespeare/kinglear.txt and can be
overridden with --input.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DistinctExample.Options
Options supported by
DistinctExample. |
| Constructor and Description |
|---|
DistinctExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |