Constructor and Description |
---|
RowSinkOp() |
RowSinkOp(SinkFunc<Row> sink,
BaseTSet originTSet,
java.util.Map<java.lang.String,java.lang.String> receivableTSets) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close method for cleaning up the resources
|
boolean |
execute(IMessage<Table> content)
Execute with an incoming message
|
DataPartition<?> |
get(java.lang.String name)
returns the collected data partition only when it matches the provided name
|
IONames |
getCollectibleNames()
This method should return a set of collectible names, that can be collected from this
collector.
|
void |
prepare(Config cfg,
TaskContext ctx)
Prepare the task to be executed
|
add, getReceivableNames, gettSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endExecute
public void prepare(Config cfg, TaskContext ctx)
INode
public boolean execute(IMessage<Table> content)
ICompute
public void close()
Closable
public DataPartition<?> get(java.lang.String name)
public IONames getCollectibleNames()
Collector
If Collector
C of task graph TG1 collects variable "var1" and C's parallelism is n, If
Receptor
R of task graph TG2 is interested in receiving "var1", R's parallelism should
be equal to n and, R should have the same distribution as C among the workers.
getCollectibleNames
in interface Collector