public class TopologyDef extends Object
Bean represenation of a topology.
It consists of the following: 1. The topology name 2. A java.util.Map
representing the org.apache.storm.config
for the topology 3. A list of spout definitions 4. A list of bolt definitions 5. A list of stream definitions that define the flow between spouts and bolts.
Constructor and Description |
---|
TopologyDef() |
public String getName()
public void setName(String name)
public void setName(String name, boolean override)
public List<IncludeDef> getIncludes()
public void setIncludes(List<IncludeDef> includes)
public int parallelismForBolt(String boltId)
public TopologySourceDef getTopologySource()
public void setTopologySource(TopologySourceDef topologySource)
public boolean isDslTopology()
public boolean validate()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.