protected static class STPartitionExample.PartitionSinkTask extends SPartitionCompute<int[]>
| Modifier | Constructor and Description |
|---|---|
protected |
PartitionSinkTask() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
partition(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 partition(int[] data)
partition in class SPartitionCompute<int[]>