Class GroupByWindowFunction<K,V,W extends BoundedWindow>
java.lang.Object
org.apache.beam.runners.twister2.translators.functions.GroupByWindowFunction<K,V,W>
- All Implemented Interfaces:
edu.iu.dsc.tws.api.compute.modifiers.Closable
,edu.iu.dsc.tws.api.tset.fn.FlatMapFunc<WindowedValue<KV<K,
,Iterable<V>>>, KV<K, Iterable<WindowedValue<V>>>> edu.iu.dsc.tws.api.tset.fn.TFunction<WindowedValue<KV<K,
,Iterable<V>>>, KV<K, Iterable<WindowedValue<V>>>> Serializable
public class GroupByWindowFunction<K,V,W extends BoundedWindow>
extends Object
implements edu.iu.dsc.tws.api.tset.fn.FlatMapFunc<WindowedValue<KV<K,Iterable<V>>>,KV<K,Iterable<WindowedValue<V>>>>
GroupBy window function.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGroupByWindowFunction
(WindowingStrategy<?, W> windowingStrategy, org.apache.beam.runners.core.SystemReduceFn<K, V, Iterable<V>, Iterable<V>, W> reduceFn, PipelineOptions options) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.iu.dsc.tws.api.compute.modifiers.Closable
reset
Methods inherited from interface edu.iu.dsc.tws.api.tset.fn.TFunction
close
-
Constructor Details
-
GroupByWindowFunction
public GroupByWindowFunction() -
GroupByWindowFunction
public GroupByWindowFunction(WindowingStrategy<?, W> windowingStrategy, org.apache.beam.runners.core.SystemReduceFn<K, V, Iterable<V>, Iterable<V>, W> reduceFn, PipelineOptions options)
-
-
Method Details
-
flatMap
public void flatMap(KV<K, Iterable<WindowedValue<V>>> kIteratorKV, edu.iu.dsc.tws.api.tset.fn.RecordCollector<WindowedValue<KV<K, Iterable<V>>>> collector) -
prepare
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context) -
readResolve
- Throws:
ObjectStreamException
-