protected static class STPartitionKeyedExample.SKeyedPartitionSinkTask extends SKeyedPartitionCompute<java.lang.Integer,int[]>
Modifier | Constructor and Description |
---|---|
protected |
SKeyedPartitionSinkTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
keyedPartition(Tuple<java.lang.Integer,int[]> data) |
void |
prepare(Config cfg,
TaskContext ctx)
Prepare the task to be executed
|
execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endExecute
public void prepare(Config cfg, TaskContext ctx)
INode
public boolean keyedPartition(Tuple<java.lang.Integer,int[]> data)
keyedPartition
in class SKeyedPartitionCompute<java.lang.Integer,int[]>