public class DataObjectSink<T> extends BaseCompute implements Collector
| Constructor and Description |
|---|
DataObjectSink() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(IMessage message)
This method add the received message from the DataObject Source into the data objects.
|
DataPartition<java.lang.Object> |
get()
get the collected valued
|
void |
prepare(Config cfg,
TaskContext context)
Prepare the task to be executed
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getCollectibleNamesendExecutepublic boolean execute(IMessage message)
public void prepare(Config cfg, TaskContext context)
INodepublic DataPartition<java.lang.Object> get()
Collector