public class TopologyBuilder
extends java.lang.Object
Constructor and Description |
---|
TopologyBuilder() |
Modifier and Type | Method and Description |
---|---|
StormTopology |
createTopology() |
BoltDeclarer |
setBolt(java.lang.String id,
IBasicBolt bolt) |
BoltDeclarer |
setBolt(java.lang.String id,
IBasicBolt bolt,
java.lang.Number parallelismHint) |
BoltDeclarer |
setBolt(java.lang.String id,
IRichBolt bolt) |
BoltDeclarer |
setBolt(java.lang.String id,
IRichBolt bolt,
java.lang.Number parallelismHint) |
SpoutDeclarer |
setSpout(java.lang.String id,
IRichSpout spout) |
SpoutDeclarer |
setSpout(java.lang.String id,
IRichSpout spout,
java.lang.Number parallelismHint) |
public StormTopology createTopology()
public BoltDeclarer setBolt(java.lang.String id, IRichBolt bolt)
public BoltDeclarer setBolt(java.lang.String id, IRichBolt bolt, java.lang.Number parallelismHint)
public BoltDeclarer setBolt(java.lang.String id, IBasicBolt bolt)
public BoltDeclarer setBolt(java.lang.String id, IBasicBolt bolt, java.lang.Number parallelismHint)
public SpoutDeclarer setSpout(java.lang.String id, IRichSpout spout)
public SpoutDeclarer setSpout(java.lang.String id, IRichSpout spout, java.lang.Number parallelismHint)