Class InsertIntoWindowEndPartitionCallback
- java.lang.Object
-
- io.siddhi.core.query.output.callback.OutputCallback
-
- io.siddhi.core.query.output.callback.InsertIntoWindowCallback
-
- io.siddhi.core.query.output.callback.InsertIntoWindowEndPartitionCallback
-
public class InsertIntoWindowEndPartitionCallback extends InsertIntoWindowCallback
This callback is an adapter betweenStreamJunctionandWindow. It receivesComplexEventChunks from partitioned queries and insert them intoWindow.
-
-
Field Summary
-
Fields inherited from class io.siddhi.core.query.output.callback.InsertIntoWindowCallback
outputStreamDefinition, window
-
-
Constructor Summary
Constructors Constructor Description InsertIntoWindowEndPartitionCallback(Window window, io.siddhi.query.api.definition.StreamDefinition outputStreamDefinition, String queryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsend(ComplexEventChunk complexEventChunk, int noOfEvents)Add the event into theWindow-
Methods inherited from class io.siddhi.core.query.output.callback.InsertIntoWindowCallback
getOutputStreamDefinition, getWindow
-
Methods inherited from class io.siddhi.core.query.output.callback.OutputCallback
constructMatchingStateEventChunk, setSiddhiDebugger
-
-
-
-
Method Detail
-
send
public void send(ComplexEventChunk complexEventChunk, int noOfEvents)
Add the event into theWindow- Overrides:
sendin classInsertIntoWindowCallback- Parameters:
complexEventChunk- the event to addnoOfEvents- number of events
-
-