public static class StormPlayground.RandomFieldSpout extends backtype.storm.topology.base.BaseRichSpout
Constructor and Description |
---|
RandomFieldSpout(int nFields,
int min,
int max) |
RandomFieldSpout(int nFields,
int rootRandomSeed,
int min,
int max) |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer) |
backtype.storm.tuple.Fields |
getFields() |
void |
nextTuple() |
void |
open(Map conf,
backtype.storm.task.TopologyContext context,
backtype.storm.spout.SpoutOutputCollector collector) |
ack, activate, close, deactivate, fail
public RandomFieldSpout(int nFields, int rootRandomSeed, int min, int max)
public RandomFieldSpout(int nFields, int min, int max)
public void open(Map conf, backtype.storm.task.TopologyContext context, backtype.storm.spout.SpoutOutputCollector collector)
public void nextTuple()
public void declareOutputFields(backtype.storm.topology.OutputFieldsDeclarer declarer)
public backtype.storm.tuple.Fields getFields()