public class UniqueExternalTimeBatchWindowProcessor
extends org.wso2.siddhi.core.query.processor.stream.window.WindowProcessor
implements org.wso2.siddhi.core.query.processor.SchedulingProcessor, org.wso2.siddhi.core.query.processor.stream.window.FindableProcessor
| Constructor and Description |
|---|
UniqueExternalTimeBatchWindowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.siddhi.core.util.collection.operator.Finder |
constructFinder(org.wso2.siddhi.query.api.expression.Expression expression,
org.wso2.siddhi.core.util.collection.operator.MatchingMetaStateHolder matchingMetaStateHolder,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext,
List<org.wso2.siddhi.core.executor.VariableExpressionExecutor> variableExpressionExecutors,
Map<String,org.wso2.siddhi.core.table.EventTable> eventTableMap) |
Object[] |
currentState() |
org.wso2.siddhi.core.event.stream.StreamEvent |
find(org.wso2.siddhi.core.event.state.StateEvent matchingEvent,
org.wso2.siddhi.core.util.collection.operator.Finder finder) |
org.wso2.siddhi.core.util.Scheduler |
getScheduler() |
protected void |
init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext) |
protected void |
process(org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.stream.StreamEvent> streamEventChunk,
org.wso2.siddhi.core.query.processor.Processor nextProcessor,
org.wso2.siddhi.core.event.stream.StreamEventCloner streamEventCloner)
Here an assumption is taken:
Parameter: timestamp: The time which the window determines as current time and will act upon,
the value of this parameter should be monotonically increasing.
|
void |
restoreState(Object[] state) |
void |
setScheduler(org.wso2.siddhi.core.util.Scheduler scheduler) |
void |
start() |
void |
stop() |
init, processEventChunkcloneProcessor, constructStreamEventPopulater, getElementId, getNextProcessor, initProcessor, process, setNextProcessor, setStreamEventCloner, setToLastpublic UniqueExternalTimeBatchWindowProcessor()
protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext)
init in class org.wso2.siddhi.core.query.processor.stream.window.WindowProcessorprotected void process(org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.stream.StreamEvent> streamEventChunk,
org.wso2.siddhi.core.query.processor.Processor nextProcessor,
org.wso2.siddhi.core.event.stream.StreamEventCloner streamEventCloner)
process in class org.wso2.siddhi.core.query.processor.stream.window.WindowProcessorpublic void start()
start in interface org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolderpublic void stop()
stop in interface org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolderpublic Object[] currentState()
currentState in interface org.wso2.siddhi.core.util.snapshot.Snapshotablepublic void restoreState(Object[] state)
restoreState in interface org.wso2.siddhi.core.util.snapshot.Snapshotablepublic void setScheduler(org.wso2.siddhi.core.util.Scheduler scheduler)
setScheduler in interface org.wso2.siddhi.core.query.processor.SchedulingProcessorpublic org.wso2.siddhi.core.util.Scheduler getScheduler()
getScheduler in interface org.wso2.siddhi.core.query.processor.SchedulingProcessorpublic org.wso2.siddhi.core.event.stream.StreamEvent find(org.wso2.siddhi.core.event.state.StateEvent matchingEvent,
org.wso2.siddhi.core.util.collection.operator.Finder finder)
find in interface org.wso2.siddhi.core.query.processor.stream.window.FindableProcessorpublic org.wso2.siddhi.core.util.collection.operator.Finder constructFinder(org.wso2.siddhi.query.api.expression.Expression expression,
org.wso2.siddhi.core.util.collection.operator.MatchingMetaStateHolder matchingMetaStateHolder,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext,
List<org.wso2.siddhi.core.executor.VariableExpressionExecutor> variableExpressionExecutors,
Map<String,org.wso2.siddhi.core.table.EventTable> eventTableMap)
constructFinder in interface org.wso2.siddhi.core.query.processor.stream.window.FindableProcessorCopyright © 2017 WSO2. All rights reserved.