Class PersistedIncrementalExecutor
- java.lang.Object
-
- io.siddhi.core.aggregation.persistedaggregation.PersistedIncrementalExecutor
-
-
Constructor Summary
Constructors Constructor Description PersistedIncrementalExecutor(String aggregatorName, io.siddhi.query.api.aggregation.TimePeriod.Duration duration, List<ExpressionExecutor> processExpressionExecutors, Executor child, SiddhiQueryContext siddhiQueryContext, MetaStreamEvent metaStreamEvent, String timeZone, Processor cudStreamProcessor, LinkedBlockingQueue<QueuedCudStreamProcessor> cudStreamProcessorQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ComplexEventChunk streamEventChunk)Execute the handed StreamEventExecutorgetNextExecutor()Get next executor element in the execution chain.voidsetEmitTime(long emitTimeOfLatestEventInTable)voidsetNextExecutor(Executor executor)Set next executor element in execution chainvoidsetProcessingExecutor(boolean processingExecutor)
-
-
-
Constructor Detail
-
PersistedIncrementalExecutor
public PersistedIncrementalExecutor(String aggregatorName, io.siddhi.query.api.aggregation.TimePeriod.Duration duration, List<ExpressionExecutor> processExpressionExecutors, Executor child, SiddhiQueryContext siddhiQueryContext, MetaStreamEvent metaStreamEvent, String timeZone, Processor cudStreamProcessor, LinkedBlockingQueue<QueuedCudStreamProcessor> cudStreamProcessorQueue)
-
-
Method Detail
-
execute
public void execute(ComplexEventChunk streamEventChunk)
Description copied from interface:ExecutorExecute the handed StreamEvent
-
setEmitTime
public void setEmitTime(long emitTimeOfLatestEventInTable)
- Specified by:
setEmitTimein interfaceExecutor
-
setProcessingExecutor
public void setProcessingExecutor(boolean processingExecutor)
-
getNextExecutor
public Executor getNextExecutor()
Description copied from interface:ExecutorGet next executor element in the execution chain. Executed event should be sent to next executor- Specified by:
getNextExecutorin interfaceExecutor- Returns:
- next executor
-
setNextExecutor
public void setNextExecutor(Executor executor)
Description copied from interface:ExecutorSet next executor element in execution chain- Specified by:
setNextExecutorin interfaceExecutor- Parameters:
executor- Event executor for incremental execution
-
-