@Override
    protected void processEventChunk(ComplexEventChunk<StreamEvent> streamEventChunk, Processor nextProcessor,
                                     StreamEventCloner streamEventCloner, ComplexEventPopulater complexEventPopulater,
                                     S state) {
        streamEventChunk.reset();
        process(streamEventChunk, nextProcessor, streamEventCloner, complexEventPopulater, state);
    }
For Siddhi extensions, extend this class to use the functionality of
AbstractStreamProcessor. This class processes only StreamEvents. Use
StreamFunctionProcessor to process StateEvents.

@param <S> current state of the processor
modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/stream/StreamProcessor.java