Package cz.o2.proxima.beam.core
Class PCollectionTools
- java.lang.Object
-
- cz.o2.proxima.beam.core.PCollectionTools
-
public class PCollectionTools extends java.lang.Object
Various tools related to manipulation withPCollection
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.beam.sdk.values.PCollection<StreamElement>
reduceAsSnapshot(java.lang.String name, org.apache.beam.sdk.values.PCollection<StreamElement> input)
Reduce givenPCollection
from updates to snapshot.
-
-
-
Method Detail
-
reduceAsSnapshot
public static org.apache.beam.sdk.values.PCollection<StreamElement> reduceAsSnapshot(@Nullable java.lang.String name, org.apache.beam.sdk.values.PCollection<StreamElement> input)
Reduce givenPCollection
from updates to snapshot.- Parameters:
name
- name of the operationinput
- the otherPCollection
containing updates- Returns:
- snapshot
-
-