Class InsertIntoTableCallback
- java.lang.Object
-
- io.siddhi.core.query.output.callback.OutputCallback
-
- io.siddhi.core.query.output.callback.InsertIntoTableCallback
-
public class InsertIntoTableCallback extends OutputCallback
Implementation ofOutputCallbackto receive processed Siddhi events from Siddhi queries and insert data into aTablebased on received events and condition.
-
-
Constructor Summary
Constructors Constructor Description InsertIntoTableCallback(Table table, io.siddhi.query.api.definition.StreamDefinition outputStreamDefinition, boolean convertToStreamEvent, StreamEventFactory streamEventFactory, StreamEventConverter streamEventConverter, String queryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.siddhi.query.api.definition.StreamDefinitiongetOutputStreamDefinition()voidsend(ComplexEventChunk complexEventChunk, int noOfEvents)-
Methods inherited from class io.siddhi.core.query.output.callback.OutputCallback
constructMatchingStateEventChunk, setSiddhiDebugger
-
-
-
-
Constructor Detail
-
InsertIntoTableCallback
public InsertIntoTableCallback(Table table, io.siddhi.query.api.definition.StreamDefinition outputStreamDefinition, boolean convertToStreamEvent, StreamEventFactory streamEventFactory, StreamEventConverter streamEventConverter, String queryName)
-
-
Method Detail
-
send
public void send(ComplexEventChunk complexEventChunk, int noOfEvents)
- Specified by:
sendin classOutputCallback
-
getOutputStreamDefinition
public io.siddhi.query.api.definition.StreamDefinition getOutputStreamDefinition()
-
-