@Override
    public CompiledCondition compileCondition(Expression condition, MatchingMetaInfoHolder matchingMetaInfoHolder,
                                              List<VariableExpressionExecutor> variableExpressionExecutors,
                                              Map<String, Table> tableMap, SiddhiQueryContext siddhiQueryContext) {
        S state = stateHolder.getState();
        try {
            return compileCondition(condition, matchingMetaInfoHolder, variableExpressionExecutors, tableMap,
                    state, siddhiQueryContext);
        } finally {
            stateHolder.returnState(state);
        }
    }
Performs event processing in a sliding manner while supporting event search

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