public class UniqueTimeLengthBatchWindowProcessor
extends io.siddhi.core.query.processor.stream.window.WindowProcessor<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState>
implements io.siddhi.core.query.processor.SchedulingProcessor, io.siddhi.core.query.processor.stream.window.FindableProcessor
| Constructor and Description |
|---|
UniqueTimeLengthBatchWindowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addUniqueEvent(Map<Object,io.siddhi.core.event.stream.StreamEvent> uniqueEventMap,
io.siddhi.core.executor.ExpressionExecutor uniqueKeyExpressionExecutor,
io.siddhi.core.event.stream.StreamEvent clonedStreamEvent) |
io.siddhi.core.util.collection.operator.CompiledCondition |
compileCondition(io.siddhi.query.api.expression.Expression expression,
io.siddhi.core.util.collection.operator.MatchingMetaInfoHolder matchingMetaInfoHolder,
List<io.siddhi.core.executor.VariableExpressionExecutor> variableExpressionExecutors,
Map<String,io.siddhi.core.table.Table> tableMap,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext) |
io.siddhi.core.event.stream.StreamEvent |
find(io.siddhi.core.event.state.StateEvent matchingEvent,
io.siddhi.core.util.collection.operator.CompiledCondition compiledCondition) |
io.siddhi.core.query.processor.ProcessingMode |
getProcessingMode() |
io.siddhi.core.util.Scheduler |
getScheduler() |
protected io.siddhi.core.util.snapshot.state.StateFactory<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState> |
init(io.siddhi.core.event.stream.MetaStreamEvent metaStreamEvent,
io.siddhi.query.api.definition.AbstractDefinition inputDefinition,
io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader configReader,
io.siddhi.core.event.stream.holder.StreamEventClonerHolder streamEventClonerHolder,
boolean outputExpectsExpiredEvents,
boolean findToBeExecuted,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext) |
protected void |
processEventChunk(io.siddhi.core.event.ComplexEventChunk<io.siddhi.core.event.stream.StreamEvent> streamEventChunk,
io.siddhi.core.query.processor.Processor nextProcessor,
io.siddhi.core.event.stream.StreamEventCloner streamEventCloner,
io.siddhi.core.event.stream.populater.ComplexEventPopulater complexEventPopulater,
io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState state) |
void |
setScheduler(io.siddhi.core.util.Scheduler scheduler) |
void |
start() |
void |
stop() |
getReturnAttributesconstructStreamEventPopulater, getNextProcessor, initProcessor, process, setNextProcessor, setStreamEventCloner, setToLastpublic UniqueTimeLengthBatchWindowProcessor()
protected io.siddhi.core.util.snapshot.state.StateFactory<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState> init(io.siddhi.core.event.stream.MetaStreamEvent metaStreamEvent,
io.siddhi.query.api.definition.AbstractDefinition inputDefinition,
io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader configReader,
io.siddhi.core.event.stream.holder.StreamEventClonerHolder streamEventClonerHolder,
boolean outputExpectsExpiredEvents,
boolean findToBeExecuted,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
init in class io.siddhi.core.query.processor.stream.AbstractStreamProcessor<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState>protected void processEventChunk(io.siddhi.core.event.ComplexEventChunk<io.siddhi.core.event.stream.StreamEvent> streamEventChunk,
io.siddhi.core.query.processor.Processor nextProcessor,
io.siddhi.core.event.stream.StreamEventCloner streamEventCloner,
io.siddhi.core.event.stream.populater.ComplexEventPopulater complexEventPopulater,
io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState state)
processEventChunk in class io.siddhi.core.query.processor.stream.AbstractStreamProcessor<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState>public io.siddhi.core.query.processor.ProcessingMode getProcessingMode()
getProcessingMode in class io.siddhi.core.query.processor.stream.AbstractStreamProcessor<io.siddhi.extension.execution.unique.UniqueTimeLengthBatchWindowProcessor.WindowState>public void setScheduler(io.siddhi.core.util.Scheduler scheduler)
setScheduler in interface io.siddhi.core.query.processor.SchedulingProcessorpublic io.siddhi.core.util.Scheduler getScheduler()
getScheduler in interface io.siddhi.core.query.processor.SchedulingProcessorprotected void addUniqueEvent(Map<Object,io.siddhi.core.event.stream.StreamEvent> uniqueEventMap, io.siddhi.core.executor.ExpressionExecutor uniqueKeyExpressionExecutor, io.siddhi.core.event.stream.StreamEvent clonedStreamEvent)
public void start()
start in interface io.siddhi.core.util.extension.holder.ExternalReferencedHolderpublic void stop()
stop in interface io.siddhi.core.util.extension.holder.ExternalReferencedHolderpublic io.siddhi.core.event.stream.StreamEvent find(io.siddhi.core.event.state.StateEvent matchingEvent,
io.siddhi.core.util.collection.operator.CompiledCondition compiledCondition)
find in interface io.siddhi.core.query.processor.stream.window.FindableProcessorpublic io.siddhi.core.util.collection.operator.CompiledCondition compileCondition(io.siddhi.query.api.expression.Expression expression,
io.siddhi.core.util.collection.operator.MatchingMetaInfoHolder matchingMetaInfoHolder,
List<io.siddhi.core.executor.VariableExpressionExecutor> variableExpressionExecutors,
Map<String,io.siddhi.core.table.Table> tableMap,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
compileCondition in interface io.siddhi.core.query.processor.stream.window.FindableProcessorCopyright © 2019 WSO2. All rights reserved.