|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object backtype.storm.testing.NGrouping
public class NGrouping
Constructor Summary | |
---|---|
NGrouping(int n)
|
Method Summary | |
---|---|
void |
prepare(Fields outFields,
int numTasks)
Tells the stream grouping at runtime the number of tasks in the target bolt. |
java.util.List<java.lang.Integer> |
taskIndices(java.util.List<java.lang.Object> values)
This function implements a custom stream grouping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NGrouping(int n)
Method Detail |
---|
public void prepare(Fields outFields, int numTasks)
CustomStreamGrouping
prepare
in interface CustomStreamGrouping
public java.util.List<java.lang.Integer> taskIndices(java.util.List<java.lang.Object> values)
CustomStreamGrouping
taskIndices
in interface CustomStreamGrouping
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |