Class UpdateOrInsertTableCallback
- java.lang.Object
-
- io.siddhi.core.query.output.callback.OutputCallback
-
- io.siddhi.core.query.output.callback.UpdateOrInsertTableCallback
-
public class UpdateOrInsertTableCallback extends OutputCallback
Implementation ofOutputCallbackto receive processed Siddhi events from Siddhi queries and insert/update data into aTablebased on received events and condition.
-
-
Constructor Summary
Constructors Constructor Description UpdateOrInsertTableCallback(Table table, CompiledCondition compiledCondition, CompiledUpdateSet compiledUpdateSet, int matchingStreamIndex, boolean convertToStreamEvent, StateEventFactory stateEventFactory, StreamEventFactory streamEventFactory, StreamEventConverter streamEventConverter, String queryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsend(ComplexEventChunk updateOrAddEventChunk, int noOfEvents)-
Methods inherited from class io.siddhi.core.query.output.callback.OutputCallback
constructMatchingStateEventChunk, setSiddhiDebugger
-
-
-
-
Constructor Detail
-
UpdateOrInsertTableCallback
public UpdateOrInsertTableCallback(Table table, CompiledCondition compiledCondition, CompiledUpdateSet compiledUpdateSet, int matchingStreamIndex, boolean convertToStreamEvent, StateEventFactory stateEventFactory, StreamEventFactory streamEventFactory, StreamEventConverter streamEventConverter, String queryName)
-
-
Method Detail
-
send
public void send(ComplexEventChunk updateOrAddEventChunk, int noOfEvents)
- Specified by:
sendin classOutputCallback
-
-