Class GroupByKeyTransform<I>
- java.lang.Object
-
- org.apache.nemo.common.ir.vertex.transform.NoWatermarkEmitTransform<I,org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,java.util.List>>>
-
- org.apache.nemo.compiler.frontend.beam.transform.GroupByKeyTransform<I>
-
- Type Parameters:
I
- input type.
- All Implemented Interfaces:
java.io.Serializable
,Transform<I,org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,java.util.List>>>
public final class GroupByKeyTransform<I> extends NoWatermarkEmitTransform<I,org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,java.util.List>>>
Group Beam KVs.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.nemo.common.ir.vertex.transform.Transform
Transform.Context
-
-
Constructor Summary
Constructors Constructor Description GroupByKeyTransform()
GroupByKey constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the transform.void
onData(I element)
On data received.void
prepare(Transform.Context context, OutputCollector<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,java.util.List>>> oc)
Prepare the transform.-
Methods inherited from class org.apache.nemo.common.ir.vertex.transform.NoWatermarkEmitTransform
onLatencymark, onWatermark
-
-
-
-
Method Detail
-
prepare
public void prepare(Transform.Context context, OutputCollector<org.apache.beam.sdk.util.WindowedValue<org.apache.beam.sdk.values.KV<java.lang.Object,java.util.List>>> oc)
Description copied from interface:Transform
Prepare the transform.- Parameters:
context
- of the transform.oc
- that collects outputs.
-
onData
public void onData(I element)
Description copied from interface:Transform
On data received.- Parameters:
element
- data received.
-
close
public void close()
Description copied from interface:Transform
Close the transform.
-
-