Package org.apache.storm.trident
Class TridentTopology
- java.lang.Object
-
- org.apache.storm.trident.TridentTopology
-
public class TridentTopology extends Object
-
-
Constructor Summary
Constructors Constructor Description TridentTopology()
-
Method Summary
-
-
-
Method Detail
-
newStream
public Stream newStream(String txId, IRichSpout spout)
-
newStream
public Stream newStream(String txId, IBatchSpout spout)
-
newStream
public Stream newStream(String txId, ITridentSpout spout)
-
newStream
public Stream newStream(String txId, IPartitionedTridentSpout spout)
-
newStream
public Stream newStream(String txId, IOpaquePartitionedTridentSpout spout)
-
newStream
public Stream newStream(String txId, ITridentDataSource dataSource)
-
newDRPCStream
public Stream newDRPCStream(String function, ILocalDRPC server)
-
newStaticState
public TridentState newStaticState(StateFactory factory)
-
newStaticState
public TridentState newStaticState(StateSpec spec)
-
multiReduce
public Stream multiReduce(Stream s1, Stream s2, MultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(Fields inputFields1, Stream s1, Fields inputFields2, Stream s2, MultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(GroupedStream s1, GroupedStream s2, GroupedMultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(Fields inputFields1, GroupedStream s1, Fields inputFields2, GroupedStream s2, GroupedMultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(List<Stream> streams, MultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(List<GroupedStream> streams, GroupedMultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(List<Fields> inputFields, List<Stream> streams, MultiReducer function, Fields outputFields)
-
multiReduce
public Stream multiReduce(List<Fields> inputFields, List<GroupedStream> groupedStreams, GroupedMultiReducer function, Fields outputFields)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinType type)
-
join
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinType type)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, List<JoinType> mixed)
-
join
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, List<JoinType> mixed)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinOutFieldsMode mode)
-
join
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinOutFieldsMode mode)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinType type, JoinOutFieldsMode mode)
-
join
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinType type, JoinOutFieldsMode mode)
-
join
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, List<JoinType> mixed, JoinOutFieldsMode mode)
-
join
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, List<JoinType> mixed, JoinOutFieldsMode mode)
-
setResourceDefaults
public TridentTopology setResourceDefaults(DefaultResourceDeclarer defaults)
-
setMasterCoordResources
public TridentTopology setMasterCoordResources(DefaultResourceDeclarer resources)
-
build
public StormTopology build()
-
getUniqueStreamId
protected String getUniqueStreamId()
-
getUniqueStateId
protected String getUniqueStateId()
-
getUniqueWindowId
protected String getUniqueWindowId()
-
registerNode
protected void registerNode(Node n)
-
addSourcedStateNode
protected TridentState addSourcedStateNode(List<Stream> sources, Node newNode)
-
addSourcedStateNode
protected TridentState addSourcedStateNode(Stream source, Node newNode)
-
-