public class InsertIntoTableCallback extends OutputCallback
OutputCallback to receive processed Siddhi events from
Siddhi queries and insert data into a Table
based on received events and condition.| Constructor and Description |
|---|
InsertIntoTableCallback(Table table,
org.wso2.siddhi.query.api.definition.StreamDefinition outputStreamDefinition,
boolean convertToStreamEvent,
StreamEventPool streamEventPool,
StreamEventConverter streamEventConverter,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.siddhi.query.api.definition.StreamDefinition |
getOutputStreamDefinition() |
void |
send(ComplexEventChunk complexEventChunk,
int noOfEvents) |
constructMatchingStateEventChunk, setSiddhiDebuggerpublic InsertIntoTableCallback(Table table, org.wso2.siddhi.query.api.definition.StreamDefinition outputStreamDefinition, boolean convertToStreamEvent, StreamEventPool streamEventPool, StreamEventConverter streamEventConverter, String queryName)
public void send(ComplexEventChunk complexEventChunk, int noOfEvents)
send in class OutputCallbackpublic org.wso2.siddhi.query.api.definition.StreamDefinition getOutputStreamDefinition()
Copyright © 2017 WSO2. All rights reserved.