public class LightBoltDeclarer extends Object implements IBoltDeclarer
| Constructor and Description |
|---|
LightBoltDeclarer(LightTopology topology,
String boltComponentId,
org.apache.storm.topology.IRichBolt bolt,
int boltExecutors)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
allGrouping(String componentId,
String streamEndOfBatch) |
void |
fieldsGrouping(String componentId,
String streamId,
org.apache.storm.tuple.Fields usedPartitionGroupingFields) |
void |
localOrShuffleGrouping(String sourceComponentId,
String streamId) |
void |
shuffleGrouping(String componentId,
String streamId) |
public LightBoltDeclarer(LightTopology topology, String boltComponentId, org.apache.storm.topology.IRichBolt bolt, int boltExecutors)
topology - the owner light topologyboltComponentId - the bolt corresponding identifier, i.e. "mytenant_ltr_in"bolt - the bolt object, created fro the bolt factory by the TopologyFactory.boltExecutors - the number of executorpublic void localOrShuffleGrouping(String sourceComponentId, String streamId)
localOrShuffleGrouping in interface IBoltDeclarerpublic void shuffleGrouping(String componentId, String streamId)
shuffleGrouping in interface IBoltDeclarerpublic void fieldsGrouping(String componentId, String streamId, org.apache.storm.tuple.Fields usedPartitionGroupingFields)
fieldsGrouping in interface IBoltDeclarerpublic void allGrouping(String componentId, String streamEndOfBatch)
allGrouping in interface IBoltDeclarerCopyright © 2022. All rights reserved.