public class ComputeOp<O,I> extends BaseComputeOp<I>
| Constructor and Description |
|---|
ComputeOp() |
ComputeOp(ComputeFunc<O,I> 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<I> content)
Execute with an incoming message
|
TFunction |
getFunction() |
prepare, writeEndToEdges, writeToEdgesadd, getReceivableNames, gettSetContextpublic ComputeOp()
public ComputeOp(ComputeFunc<O,I> computeFunction, BaseTSet origin, java.util.Map<java.lang.String,java.lang.String> receivables)
public TFunction getFunction()
getFunction in class BaseComputeOp<I>public boolean execute(IMessage<I> content)
IComputepublic void close()
Closablepublic void endExecute()
ICompute