public class InsertIntoWindowCallback extends OutputCallback
StreamJunction and EventWindow.
It receives ComplexEventChunks and insert them into EventWindow.| Constructor and Description |
|---|
InsertIntoWindowCallback(EventWindow eventWindow,
org.wso2.siddhi.query.api.definition.StreamDefinition outputStreamDefinition,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
EventWindow |
getEventWindow()
Return the
EventWindow associated with this callback. |
org.wso2.siddhi.query.api.definition.StreamDefinition |
getOutputStreamDefinition()
Return the StreamDefinition of the corresponding window.
|
void |
send(ComplexEventChunk complexEventChunk)
Add the event into the
EventWindow |
constructMatchingStateEventChunk, getDebugger, getQueryName, setDebuggerpublic InsertIntoWindowCallback(EventWindow eventWindow, org.wso2.siddhi.query.api.definition.StreamDefinition outputStreamDefinition, String queryName)
public void send(ComplexEventChunk complexEventChunk)
EventWindowsend in class OutputCallbackcomplexEventChunk - the event to addpublic org.wso2.siddhi.query.api.definition.StreamDefinition getOutputStreamDefinition()
public EventWindow getEventWindow()
EventWindow associated with this callback.Copyright © 2018 WSO2. All Rights Reserved.