@Override
    public ProcessingMode getProcessingMode() {
        return ProcessingMode.BATCH;
    }
The main processing method that will be called upon event arrival

@param streamEventChunk  the stream event chunk that need to be processed
@param nextProcessor     the next processor to which the success events need to be passed
@param streamEventCloner helps to clone the incoming event for local storage or modification
@param state             current state of the processor
modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/stream/window/BatchingWindowProcessor.java