public class InsertIntoWindowCallback extends OutputCallback
StreamJunction and Window.
It receives ComplexEventChunks and insert them into Window.| Constructor and Description |
|---|
InsertIntoWindowCallback(Window window,
org.wso2.siddhi.query.api.definition.StreamDefinition outputStreamDefinition,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.siddhi.query.api.definition.StreamDefinition |
getOutputStreamDefinition()
Return the StreamDefinition of the corresponding window.
|
Window |
getWindow()
Return the
Window associated with this callback. |
void |
send(ComplexEventChunk complexEventChunk,
int noOfEvents)
Add the event into the
Window |
constructMatchingStateEventChunk, setSiddhiDebuggerpublic void send(ComplexEventChunk complexEventChunk, int noOfEvents)
Windowsend in class OutputCallbackcomplexEventChunk - the event to addnoOfEvents - public org.wso2.siddhi.query.api.definition.StreamDefinition getOutputStreamDefinition()
Copyright © 2017 WSO2. All rights reserved.