public class GroupByWindowFunction<K,V,W extends BoundedWindow> extends java.lang.Object implements edu.iu.dsc.tws.api.tset.fn.FlatMapFunc<org.apache.beam.sdk.util.WindowedValue<KV<K,java.lang.Iterable<V>>>,KV<K,java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<V>>>>
Constructor and Description |
---|
GroupByWindowFunction() |
GroupByWindowFunction(WindowingStrategy<?,W> windowingStrategy,
org.apache.beam.runners.core.SystemReduceFn<K,V,java.lang.Iterable<V>,java.lang.Iterable<V>,W> reduceFn,
PipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
flatMap(KV<K,java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<V>>> kIteratorKV,
edu.iu.dsc.tws.api.tset.fn.RecordCollector<org.apache.beam.sdk.util.WindowedValue<KV<K,java.lang.Iterable<V>>>> collector) |
void |
prepare(edu.iu.dsc.tws.api.tset.TSetContext context) |
protected java.lang.Object |
readResolve() |
public GroupByWindowFunction()
public GroupByWindowFunction(WindowingStrategy<?,W> windowingStrategy, org.apache.beam.runners.core.SystemReduceFn<K,V,java.lang.Iterable<V>,java.lang.Iterable<V>,W> reduceFn, PipelineOptions options)
public void flatMap(KV<K,java.lang.Iterable<org.apache.beam.sdk.util.WindowedValue<V>>> kIteratorKV, edu.iu.dsc.tws.api.tset.fn.RecordCollector<org.apache.beam.sdk.util.WindowedValue<KV<K,java.lang.Iterable<V>>>> collector)
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException