public class Twister2BoltDeclarer extends java.lang.Object implements BoltDeclarer, java.io.Serializable
Constructor and Description |
---|
Twister2BoltDeclarer(MadeASourceListener madeASourceListener) |
Modifier and Type | Method and Description |
---|---|
BoltDeclarer |
addConfiguration(java.lang.String config,
java.lang.Object value) |
BoltDeclarer |
addConfigurations(java.util.Map conf) |
BoltDeclarer |
allGrouping(java.lang.String componentId) |
BoltDeclarer |
allGrouping(java.lang.String componentId,
java.lang.String streamId) |
BoltDeclarer |
customGrouping(java.lang.String componentId,
CustomStreamGrouping grouping) |
BoltDeclarer |
customGrouping(java.lang.String componentId,
java.lang.String streamId,
CustomStreamGrouping grouping) |
BoltDeclarer |
directGrouping(java.lang.String componentId) |
BoltDeclarer |
directGrouping(java.lang.String componentId,
java.lang.String streamId) |
BoltDeclarer |
fieldsGrouping(java.lang.String componentId,
Fields fields) |
BoltDeclarer |
fieldsGrouping(java.lang.String componentId,
java.lang.String streamId,
Fields fields) |
java.util.HashMap<java.lang.String,java.lang.Object> |
getConfiguration() |
java.util.List<Twister2BoltGrouping> |
getGroupings() |
java.lang.Number |
getMaxSpoutPending() |
java.lang.Number |
getMaxTaskParallelism() |
java.lang.Number |
getNumTasks() |
BoltDeclarer |
globalGrouping(java.lang.String componentId) |
BoltDeclarer |
globalGrouping(java.lang.String componentId,
java.lang.String streamId) |
boolean |
isDebug() |
BoltDeclarer |
localOrShuffleGrouping(java.lang.String componentId) |
BoltDeclarer |
localOrShuffleGrouping(java.lang.String componentId,
java.lang.String streamId) |
BoltDeclarer |
noneGrouping(java.lang.String componentId) |
BoltDeclarer |
noneGrouping(java.lang.String componentId,
java.lang.String streamId) |
BoltDeclarer |
setDebug(boolean debug) |
BoltDeclarer |
setMaxSpoutPending(java.lang.Number val) |
BoltDeclarer |
setMaxTaskParallelism(java.lang.Number val) |
BoltDeclarer |
setNumTasks(java.lang.Number val) |
BoltDeclarer |
shuffleGrouping(java.lang.String componentId) |
BoltDeclarer |
shuffleGrouping(java.lang.String componentId,
java.lang.String streamId) |
public Twister2BoltDeclarer(MadeASourceListener madeASourceListener)
public BoltDeclarer addConfigurations(java.util.Map conf)
addConfigurations
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer addConfiguration(java.lang.String config, java.lang.Object value)
addConfiguration
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer setDebug(boolean debug)
setDebug
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer setMaxTaskParallelism(java.lang.Number val)
setMaxTaskParallelism
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer setMaxSpoutPending(java.lang.Number val)
setMaxSpoutPending
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer setNumTasks(java.lang.Number val)
setNumTasks
in interface ComponentConfigurationDeclarer<BoltDeclarer>
public BoltDeclarer fieldsGrouping(java.lang.String componentId, Fields fields)
fieldsGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer fieldsGrouping(java.lang.String componentId, java.lang.String streamId, Fields fields)
fieldsGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer globalGrouping(java.lang.String componentId)
globalGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer globalGrouping(java.lang.String componentId, java.lang.String streamId)
globalGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer shuffleGrouping(java.lang.String componentId)
shuffleGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer shuffleGrouping(java.lang.String componentId, java.lang.String streamId)
shuffleGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer localOrShuffleGrouping(java.lang.String componentId)
localOrShuffleGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer localOrShuffleGrouping(java.lang.String componentId, java.lang.String streamId)
localOrShuffleGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer noneGrouping(java.lang.String componentId)
noneGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer noneGrouping(java.lang.String componentId, java.lang.String streamId)
noneGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer allGrouping(java.lang.String componentId)
allGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer allGrouping(java.lang.String componentId, java.lang.String streamId)
allGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer directGrouping(java.lang.String componentId)
directGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer directGrouping(java.lang.String componentId, java.lang.String streamId)
directGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer customGrouping(java.lang.String componentId, CustomStreamGrouping grouping)
customGrouping
in interface InputDeclarer<BoltDeclarer>
public BoltDeclarer customGrouping(java.lang.String componentId, java.lang.String streamId, CustomStreamGrouping grouping)
customGrouping
in interface InputDeclarer<BoltDeclarer>
public java.util.HashMap<java.lang.String,java.lang.Object> getConfiguration()
public boolean isDebug()
public java.lang.Number getMaxTaskParallelism()
public java.lang.Number getMaxSpoutPending()
public java.lang.Number getNumTasks()
public java.util.List<Twister2BoltGrouping> getGroupings()