public class OpaquePartitionedTridentSpoutExecutor extends Object implements ICommitterTridentSpout<Object>
Modifier and Type | Class and Description |
---|---|
class |
OpaquePartitionedTridentSpoutExecutor.Coordinator |
class |
OpaquePartitionedTridentSpoutExecutor.Emitter |
ITridentSpout.BatchCoordinator<X>
Constructor and Description |
---|
OpaquePartitionedTridentSpoutExecutor(IOpaquePartitionedTridentSpout spout) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getComponentConfiguration() |
ITridentSpout.BatchCoordinator<Object> |
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.
|
ICommitterTridentSpout.Emitter |
getEmitter(String txStateId,
Map conf,
TopologyContext context)
The emitter for a TransactionalSpout runs as many tasks across the cluster.
|
Fields |
getOutputFields() |
public OpaquePartitionedTridentSpoutExecutor(IOpaquePartitionedTridentSpout spout)
public ITridentSpout.BatchCoordinator<Object> getCoordinator(String txStateId, Map conf, TopologyContext context)
ITridentSpout
getCoordinator
in interface ITridentSpout<Object>
public ICommitterTridentSpout.Emitter getEmitter(String txStateId, Map conf, TopologyContext context)
ITridentSpout
getEmitter
in interface ICommitterTridentSpout<Object>
getEmitter
in interface ITridentSpout<Object>
public Fields getOutputFields()
getOutputFields
in interface ITridentSpout<Object>
public Map<String,Object> getComponentConfiguration()
getComponentConfiguration
in interface ITridentSpout<Object>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.