public class TopologyBuilder
extends java.lang.Object
implements java.io.Serializable
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) |
BoltDeclarer |
setBolt(java.lang.String id,
IWindowedBolt bolt) |
BoltDeclarer |
setBolt(java.lang.String id,
IWindowedBolt 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 BoltDeclarer setBolt(java.lang.String id, IWindowedBolt bolt) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public BoltDeclarer setBolt(java.lang.String id, IWindowedBolt bolt, java.lang.Number parallelismHint) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public SpoutDeclarer setSpout(java.lang.String id, IRichSpout spout)
public SpoutDeclarer setSpout(java.lang.String id, IRichSpout spout, java.lang.Number parallelismHint)