public class RowForEachCompute extends java.lang.Object implements ComputeCollectorFunc<Row,java.util.Iterator<Row>>
Constructor and Description |
---|
RowForEachCompute(ApplyFunc<Row> applyFunction) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
compute(java.util.Iterator<Row> input,
RecordCollector<Row> output) |
void |
prepare(TSetContext context)
Prepare the function.
|
public void prepare(TSetContext context)
TFunction
public void compute(java.util.Iterator<Row> input, RecordCollector<Row> output)
compute
in interface ComputeCollectorFunc<Row,java.util.Iterator<Row>>