Search in sources :

Example 11 with InsertIntoStream

use of io.siddhi.query.api.execution.query.output.stream.InsertIntoStream in project siddhi by wso2.

the class Query method insertInto.

public Query insertInto(String outputStreamId) {
    this.outputStream = new InsertIntoStream(outputStreamId);
    updateOutputEventType(outputRate, outputStream);
    return this;
}
Also used : InsertIntoStream(io.siddhi.query.api.execution.query.output.stream.InsertIntoStream)

Example 12 with InsertIntoStream

use of io.siddhi.query.api.execution.query.output.stream.InsertIntoStream in project siddhi by wso2.

the class Query method insertInto.

public Query insertInto(String outputStreamId, OutputStream.OutputEventType outputEventType) {
    this.outputStream = new InsertIntoStream(outputStreamId, outputEventType);
    updateOutputEventType(outputRate, outputStream);
    return this;
}
Also used : InsertIntoStream(io.siddhi.query.api.execution.query.output.stream.InsertIntoStream)

Aggregations

InsertIntoStream (io.siddhi.query.api.execution.query.output.stream.InsertIntoStream)12 DeleteStream (io.siddhi.query.api.execution.query.output.stream.DeleteStream)4 UpdateOrInsertStream (io.siddhi.query.api.execution.query.output.stream.UpdateOrInsertStream)4 UpdateStream (io.siddhi.query.api.execution.query.output.stream.UpdateStream)4 InsertIntoStreamCallback (io.siddhi.core.query.output.callback.InsertIntoStreamCallback)3 MetaStreamEvent (io.siddhi.core.event.stream.MetaStreamEvent)2 SiddhiAppCreationException (io.siddhi.core.exception.SiddhiAppCreationException)2 InsertIntoWindowCallback (io.siddhi.core.query.output.callback.InsertIntoWindowCallback)2 StreamJunction (io.siddhi.core.stream.StreamJunction)2 Table (io.siddhi.core.table.Table)2 Window (io.siddhi.core.window.Window)2 OutputStream (io.siddhi.query.api.execution.query.output.stream.OutputStream)2 ReturnStream (io.siddhi.query.api.execution.query.output.stream.ReturnStream)2 Expression (io.siddhi.query.api.expression.Expression)2 AggregationRuntime (io.siddhi.core.aggregation.AggregationRuntime)1 SiddhiOnDemandQueryContext (io.siddhi.core.config.SiddhiOnDemandQueryContext)1 SiddhiQueryContext (io.siddhi.core.config.SiddhiQueryContext)1 StateEventFactory (io.siddhi.core.event.state.StateEventFactory)1 StreamEventFactory (io.siddhi.core.event.stream.StreamEventFactory)1 StreamEventConverter (io.siddhi.core.event.stream.converter.StreamEventConverter)1