public class RowItrComputeCollectorOp extends BaseComputeOp<java.util.Iterator<Table>>
| Constructor and Description |
|---|
RowItrComputeCollectorOp() |
RowItrComputeCollectorOp(ComputeCollectorFunc<Row,java.util.Iterator<Row>> computeFunction,
BaseTSet origin,
java.util.Map<java.lang.String,java.lang.String> receivables) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close method for cleaning up the resources
|
void |
endExecute()
Callback that is gets called when the stream ends
|
boolean |
execute(IMessage<java.util.Iterator<Table>> content)
Execute with an incoming message
|
TFunction |
getFunction() |
void |
prepare(Config cfg,
TaskContext ctx)
Prepare the task to be executed
|
writeEndToEdges, writeToEdgesadd, getReceivableNames, gettSetContextpublic RowItrComputeCollectorOp()
public RowItrComputeCollectorOp(ComputeCollectorFunc<Row,java.util.Iterator<Row>> computeFunction, BaseTSet origin, java.util.Map<java.lang.String,java.lang.String> receivables)
public void prepare(Config cfg, TaskContext ctx)
INodeprepare in interface INodeprepare in class BaseComputeOp<java.util.Iterator<Table>>cfg - the configurationctx - the task context, this has runtime information about the taskpublic boolean execute(IMessage<java.util.Iterator<Table>> content)
IComputepublic void close()
Closablepublic void endExecute()
IComputepublic TFunction getFunction()
getFunction in class BaseComputeOp<java.util.Iterator<Table>>