public void process(ComplexEventChunk streamEventChunk) {
        streamEventChunk.reset();
        S state = stateHolder.getState();
        try {
            processEventChunk(streamEventChunk, nextProcessor, streamEventClonerHolder.getStreamEventCloner(),
                    complexEventPopulater, state);
        } finally {
            stateHolder.returnState(state);
        }
    }
The init method of the StreamProcessor, this method will be called before other methods

@param metaStreamEvent              the stream event meta
@param inputDefinition              the incoming stream definition
@param attributeExpressionExecutors the executors of each function parameters
@param configReader                 this hold the {@link AbstractStreamProcessor} extensions configuration
@param streamEventClonerHolder      stream event cloner holder
@param outputExpectsExpiredEvents   is expired events sent as output
@param findToBeExecuted             find will be executed
@param siddhiQueryContext           current siddhi query context
modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/stream/AbstractStreamProcessor.java