public class AutoComplete
extends java.lang.Object
Concepts: Using the same pipeline in both streaming and batch, combiners, composite transforms.
To execute this pipeline using the Dataflow service in batch mode,
specify pipeline configuration:
--project= To execute this pipeline using the Dataflow service in streaming mode,
specify pipeline configuration:
--project= Which will update the datastore every 10 seconds based on the last 30 minutes
of data received.
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoComplete.ComputeTopCompletions
A PTransform that takes as input a list of tokens and returns
the most common tokens per prefix.
|
| Constructor and Description |
|---|
AutoComplete() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |