storm.trident.topology
Class TridentTopologyBuilder
java.lang.Object
storm.trident.topology.TridentTopologyBuilder
public class TridentTopologyBuilder
- extends Object
|
Method Summary |
StormTopology |
buildTopology()
|
SpoutDeclarer |
setBatchPerTupleSpout(String id,
String streamName,
IRichSpout spout,
Integer parallelism,
String batchGroup)
|
BoltDeclarer |
setBolt(String id,
ITridentBatchBolt bolt,
Integer parallelism,
Set<String> committerBatches,
Map<String,String> batchGroups)
|
SpoutDeclarer |
setSpout(String id,
String streamName,
String txStateId,
IBatchSpout spout,
Integer parallelism,
String batchGroup)
|
SpoutDeclarer |
setSpout(String id,
String streamName,
String txStateId,
ITridentSpout spout,
Integer parallelism,
String batchGroup)
|
static String |
spoutCoordinator(String spoutId)
|
static String |
spoutIdFromCoordinatorId(String coordId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TridentTopologyBuilder
public TridentTopologyBuilder()
setBatchPerTupleSpout
public SpoutDeclarer setBatchPerTupleSpout(String id,
String streamName,
IRichSpout spout,
Integer parallelism,
String batchGroup)
setSpout
public SpoutDeclarer setSpout(String id,
String streamName,
String txStateId,
IBatchSpout spout,
Integer parallelism,
String batchGroup)
setSpout
public SpoutDeclarer setSpout(String id,
String streamName,
String txStateId,
ITridentSpout spout,
Integer parallelism,
String batchGroup)
setBolt
public BoltDeclarer setBolt(String id,
ITridentBatchBolt bolt,
Integer parallelism,
Set<String> committerBatches,
Map<String,String> batchGroups)
spoutCoordinator
public static String spoutCoordinator(String spoutId)
spoutIdFromCoordinatorId
public static String spoutIdFromCoordinatorId(String coordId)
buildTopology
public StormTopology buildTopology()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.