public class UpdateOrInsertTableCallback extends OutputCallback
OutputCallback to receive processed Siddhi events from
Siddhi queries and insert/update data into a Table
based on received events and condition.| Constructor and Description |
|---|
UpdateOrInsertTableCallback(Table table,
CompiledCondition compiledCondition,
CompiledUpdateSet compiledUpdateSet,
int matchingStreamIndex,
boolean convertToStreamEvent,
StateEventPool stateEventPool,
StreamEventPool streamEventPool,
StreamEventConverter streamEventConverter,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
void |
send(ComplexEventChunk updateOrAddEventChunk,
int noOfEvents) |
constructMatchingStateEventChunk, setSiddhiDebuggerpublic UpdateOrInsertTableCallback(Table table, CompiledCondition compiledCondition, CompiledUpdateSet compiledUpdateSet, int matchingStreamIndex, boolean convertToStreamEvent, StateEventPool stateEventPool, StreamEventPool streamEventPool, StreamEventConverter streamEventConverter, String queryName)
public void send(ComplexEventChunk updateOrAddEventChunk, int noOfEvents)
send in class OutputCallbackCopyright © 2019 WSO2. All rights reserved.