public class TridentTopology extends Object
Constructor and Description |
---|
TridentTopology() |
public Stream newStream(String txId, IRichSpout spout)
public Stream newStream(String txId, IBatchSpout spout)
public Stream newStream(String txId, ITridentSpout spout)
public Stream newStream(String txId, IPartitionedTridentSpout spout)
public Stream newStream(String txId, IOpaquePartitionedTridentSpout spout)
public Stream newStream(String txId, ITridentDataSource dataSource)
public Stream newDRPCStream(String function, ILocalDRPC server)
public TridentState newStaticState(StateFactory factory)
public TridentState newStaticState(StateSpec spec)
public Stream multiReduce(Stream s1, Stream s2, MultiReducer function, Fields outputFields)
public Stream multiReduce(Fields inputFields1, Stream s1, Fields inputFields2, Stream s2, MultiReducer function, Fields outputFields)
public Stream multiReduce(GroupedStream s1, GroupedStream s2, GroupedMultiReducer function, Fields outputFields)
public Stream multiReduce(Fields inputFields1, GroupedStream s1, Fields inputFields2, GroupedStream s2, GroupedMultiReducer function, Fields outputFields)
public Stream multiReduce(List<Stream> streams, MultiReducer function, Fields outputFields)
public Stream multiReduce(List<GroupedStream> streams, GroupedMultiReducer function, Fields outputFields)
public Stream multiReduce(List<Fields> inputFields, List<Stream> streams, MultiReducer function, Fields outputFields)
public Stream multiReduce(List<Fields> inputFields, List<GroupedStream> groupedStreams, GroupedMultiReducer function, Fields outputFields)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinType type)
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinType type)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, List<JoinType> mixed)
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, List<JoinType> mixed)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinOutFieldsMode mode)
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinOutFieldsMode mode)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, JoinType type, JoinOutFieldsMode mode)
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, JoinType type, JoinOutFieldsMode mode)
public Stream join(Stream s1, Fields joinFields1, Stream s2, Fields joinFields2, Fields outFields, List<JoinType> mixed, JoinOutFieldsMode mode)
public Stream join(List<Stream> streams, List<Fields> joinFields, Fields outFields, List<JoinType> mixed, JoinOutFieldsMode mode)
public TridentTopology setResourceDefaults(DefaultResourceDeclarer defaults)
public TridentTopology setMasterCoordResources(DefaultResourceDeclarer resources)
public StormTopology build()
protected String getUniqueStreamId()
protected String getUniqueStateId()
protected String getUniqueWindowId()
protected void registerNode(Node n)
protected TridentState addSourcedStateNode(List<Stream> sources, Node newNode)
protected TridentState addSourcedStateNode(Stream source, Node newNode)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.