public class GatherForEachCompute<T> extends java.lang.Object implements ComputeFunc<java.lang.Object,java.util.Iterator<Tuple<java.lang.Integer,T>>>
Constructor and Description |
---|
GatherForEachCompute(ApplyFunc<T> applyFunction) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Object |
compute(java.util.Iterator<Tuple<java.lang.Integer,T>> input) |
void |
prepare(TSetContext context)
Prepare the function.
|
public void prepare(TSetContext context)
TFunction
public java.lang.Object compute(java.util.Iterator<Tuple<java.lang.Integer,T>> input)
compute
in interface ComputeFunc<java.lang.Object,java.util.Iterator<Tuple<java.lang.Integer,T>>>