Package io.siddhi.core.stream
Class StreamJunction.Publisher
- java.lang.Object
-
- io.siddhi.core.stream.StreamJunction.Publisher
-
- All Implemented Interfaces:
InputProcessor
- Enclosing class:
- StreamJunction
public class StreamJunction.Publisher extends Object implements InputProcessor
Interface to be implemented to send events into the Stream Junction.
-
-
Constructor Summary
Constructors Constructor Description Publisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStreamId()voidsend(long timeStamp, Object[] data, int streamIndex)voidsend(ComplexEvent complexEvent)voidsend(Event[] events, int streamIndex)voidsend(Event event, int streamIndex)voidsend(List<Event> events, int streamIndex)voidsetStreamJunction(StreamJunction streamJunction)
-
-
-
Method Detail
-
setStreamJunction
public void setStreamJunction(StreamJunction streamJunction)
-
send
public void send(ComplexEvent complexEvent)
-
send
public void send(Event event, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(Event[] events, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(List<Event> events, int streamIndex)
- Specified by:
sendin interfaceInputProcessor
-
send
public void send(long timeStamp, Object[] data, int streamIndex)- Specified by:
sendin interfaceInputProcessor
-
getStreamId
public String getStreamId()
-
-