|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object backtype.storm.transactional.partitioned.PartitionedTransactionalSpoutExecutor
public class PartitionedTransactionalSpoutExecutor
Constructor Summary | |
---|---|
PartitionedTransactionalSpoutExecutor(IPartitionedTransactionalSpout spout)
|
Method Summary | |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer)
Declare the output schema for all the streams of this topology. |
java.util.Map<java.lang.String,java.lang.Object> |
getComponentConfiguration()
Declare configuration specific to this component. |
ITransactionalSpout.Coordinator |
getCoordinator(java.util.Map conf,
TopologyContext context)
The coordinator for a TransactionalSpout runs in a single thread and indicates when batches of tuples should be emitted and when transactions should commit. |
ITransactionalSpout.Emitter |
getEmitter(java.util.Map conf,
TopologyContext context)
The emitter for a TransactionalSpout runs as many tasks across the cluster. |
IPartitionedTransactionalSpout |
getPartitionedSpout()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionedTransactionalSpoutExecutor(IPartitionedTransactionalSpout spout)
Method Detail |
---|
public IPartitionedTransactionalSpout getPartitionedSpout()
public ITransactionalSpout.Coordinator getCoordinator(java.util.Map conf, TopologyContext context)
ITransactionalSpout
getCoordinator
in interface ITransactionalSpout<java.lang.Integer>
public ITransactionalSpout.Emitter getEmitter(java.util.Map conf, TopologyContext context)
ITransactionalSpout
getEmitter
in interface ITransactionalSpout<java.lang.Integer>
public void declareOutputFields(OutputFieldsDeclarer declarer)
IComponent
declareOutputFields
in interface IComponent
declarer
- this is used to declare output stream ids, output fields, and whether or not each output stream is a direct streampublic java.util.Map<java.lang.String,java.lang.Object> getComponentConfiguration()
IComponent
TopologyBuilder
getComponentConfiguration
in interface IComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |