Package io.siddhi.core.query.processor
Interface Processor
-
- All Known Subinterfaces:
AbsentPreStateProcessor,PostStateProcessor,PreStateProcessor,SchedulingProcessor
- All Known Implementing Classes:
AbsentLogicalPostStateProcessor,AbsentLogicalPreStateProcessor,AbsentStreamPostStateProcessor,AbsentStreamPreStateProcessor,AbstractStreamProcessor,AggregateWindowProcessor,BatchingFindableWindowProcessor,BatchingWindowProcessor,BatchWindowProcessor,CountPostStateProcessor,CountPreStateProcessor,CronWindowProcessor,DelayWindowProcessor,EmptyWindowProcessor,EntryValveProcessor,ExpressionBatchWindowProcessor,ExpressionWindowProcessor,ExternalTimeBatchWindowProcessor,ExternalTimeWindowProcessor,FilterProcessor,FrequentWindowProcessor,GroupingFindableWindowProcessor,GroupingWindowProcessor,HopingWindowProcessor,IncrementalAggregationProcessor,JoinProcessor,LengthBatchWindowProcessor,LengthWindowProcessor,LogicalPostStateProcessor,LogicalPreStateProcessor,LogStreamProcessor,LossyFrequentWindowProcessor,PersistedAggregationResultsProcessor,Pol2CartStreamFunctionProcessor,QuerySelector,SessionWindowProcessor,SlidingFindableWindowProcessor,SlidingWindowProcessor,SortWindowProcessor,StreamFunctionProcessor,StreamPostStateProcessor,StreamPreStateProcessor,StreamProcessor,TableWindowProcessor,TimeBatchWindowProcessor,TimeLengthWindowProcessor,TimeWindowProcessor,WindowProcessor,WindowWindowProcessor
public interface ProcessorParent interface representing Event Processors in Siddhi. Event Processors are the execution unit which will do the actual event processing. Each Siddhi app will map to a chain of these processors. process() will receiveComplexEventChunkwhich will be processed by the Processor and then handed over to the next Processor in-line.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessorgetNextProcessor()Get next processor element in the processor chain.voidprocess(ComplexEventChunk complexEventChunk)Process the handed StreamEventvoidprocess(List<ComplexEventChunk> complexEventChunks)Process the handed StreamEventvoidsetNextProcessor(Processor processor)Set next processor element in processor chainvoidsetToLast(Processor processor)Set as the last element of the processor chain
-
-
-
Method Detail
-
process
void process(ComplexEventChunk complexEventChunk)
Process the handed StreamEvent- Parameters:
complexEventChunk- event chunk to be processed
-
process
void process(List<ComplexEventChunk> complexEventChunks)
Process the handed StreamEvent- Parameters:
complexEventChunks- event chunks to be processed
-
getNextProcessor
Processor getNextProcessor()
Get next processor element in the processor chain. Processed event should be sent to next processor- Returns:
- next processor
-
setNextProcessor
void setNextProcessor(Processor processor)
Set next processor element in processor chain- Parameters:
processor- Processor to be set as next element of processor chain
-
setToLast
void setToLast(Processor processor)
Set as the last element of the processor chain- Parameters:
processor- Last processor in the chain
-
-