public class SinkCallback extends StreamCallback
Events from Siddhi Streams using
StreamJunction and send them to SinkMappers to do the mapping.| Constructor and Description |
|---|
SinkCallback(List<Sink> sinks,
org.wso2.siddhi.query.api.definition.AbstractDefinition outputStreamDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(SiddhiAppContext siddhiAppContext) |
void |
receive(Event event) |
void |
receive(Event[] events) |
getStreamDefinition, getStreamId, receive, receive, receive, receiveEvents, setContext, setStreamDefinition, setStreamId, startProcessing, stopProcessingpublic void init(SiddhiAppContext siddhiAppContext)
public void receive(Event event)
receive in interface StreamJunction.Receiverreceive in class StreamCallbackpublic void receive(Event[] events)
receive in interface StreamJunction.Receiverreceive in class StreamCallbackCopyright © 2017 WSO2. All rights reserved.