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
|
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendExecutepublic void prepare(Config cfg, TaskContext ctx)
INodepublic boolean keyedPartition(Tuple<java.lang.Integer,int[]> data)
keyedPartition in class SKeyedPartitionCompute<java.lang.Integer,int[]>