public class PartitionedTridentSpoutExecutor extends Object implements ITridentSpout<Integer>
ITridentSpout.BatchCoordinator<X>| Constructor and Description |
|---|
PartitionedTridentSpoutExecutor(IPartitionedTridentSpout spout) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getComponentConfiguration() |
ITridentSpout.BatchCoordinator |
getCoordinator(String txStateId,
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.
|
ITridentSpout.Emitter |
getEmitter(String txStateId,
Map conf,
TopologyContext context)
The emitter for a TransactionalSpout runs as many tasks across the cluster.
|
Fields |
getOutputFields() |
IPartitionedTridentSpout |
getPartitionedSpout() |
public PartitionedTridentSpoutExecutor(IPartitionedTridentSpout spout)
public IPartitionedTridentSpout getPartitionedSpout()
public ITridentSpout.BatchCoordinator getCoordinator(String txStateId, Map conf, TopologyContext context)
ITridentSpoutgetCoordinator in interface ITridentSpout<Integer>public ITridentSpout.Emitter getEmitter(String txStateId, Map conf, TopologyContext context)
ITridentSpoutgetEmitter in interface ITridentSpout<Integer>public Map<String,Object> getComponentConfiguration()
getComponentConfiguration in interface ITridentSpout<Integer>public Fields getOutputFields()
getOutputFields in interface ITridentSpout<Integer>Copyright © 2015. All rights reserved.