public class InsertIntoWindowCallback extends OutputCallback
StreamJunction and Window.
It receives ComplexEventChunks and insert them into Window.| Constructor and Description |
|---|
InsertIntoWindowCallback(Window window,
StreamDefinition outputStreamDefinition,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
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 InsertIntoWindowCallback(Window window, StreamDefinition outputStreamDefinition, String queryName)
public void send(ComplexEventChunk complexEventChunk, int noOfEvents)
Window.send in class OutputCallbackcomplexEventChunk - the event to addnoOfEvents - number of eventspublic StreamDefinition getOutputStreamDefinition()
Copyright © 2018 WSO2. All rights reserved.