@Override
    protected StateFactory init(ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader,
                                StreamEventClonerHolder streamEventClonerHolder, boolean outputExpectsExpiredEvents,
                                boolean findToBeExecuted, SiddhiQueryContext siddhiQueryContext) {
        this.outputExpectsExpiredEvents = outputExpectsExpiredEvents;
        this.siddhiQueryContext = siddhiQueryContext;
        return () -> new EmptyWindowProcessor.WindowState(streamEventClonerHolder, false,
                outputExpectsExpiredEvents, findToBeExecuted);
    }
Implementation of {@link WindowProcessor} which represent a Batch Window operating based on pre-defined length 0.
modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/stream/window/EmptyWindowProcessor.java