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)
ITridentSpout
getCoordinator
in interface ITridentSpout<Integer>
public ITridentSpout.Emitter getEmitter(String txStateId, Map conf, TopologyContext context)
ITridentSpout
getEmitter
in interface ITridentSpout<Integer>
public Map<String,Object> getComponentConfiguration()
getComponentConfiguration
in interface ITridentSpout<Integer>
public Fields getOutputFields()
getOutputFields
in interface ITridentSpout<Integer>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.