|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbacktype.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. |
Map<String,Object> |
getComponentConfiguration()
Declare configuration specific to this component. |
ITransactionalSpout.Coordinator |
getCoordinator(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(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(Map conf,
TopologyContext context)
ITransactionalSpout
getCoordinator in interface ITransactionalSpout<Integer>
public ITransactionalSpout.Emitter getEmitter(Map conf,
TopologyContext context)
ITransactionalSpout
getEmitter in interface ITransactionalSpout<Integer>public void declareOutputFields(OutputFieldsDeclarer declarer)
IComponent
declareOutputFields in interface IComponentdeclarer - this is used to declare output stream ids, output fields, and whether or not each output stream is a direct streampublic Map<String,Object> getComponentConfiguration()
IComponentTopologyBuilder
getComponentConfiguration in interface IComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||