public StreamEvent find(StateEvent matchingEvent, IndexedEventHolder indexedEventHolder, StreamEventCloner
            storeEventCloner) {

        if ((Boolean) expressionExecutor.execute(matchingEvent)) {

            ComplexEventChunk<StreamEvent> returnEventChunk = new ComplexEventChunk<StreamEvent>();
            Collection<StreamEvent> storeEvents = indexedEventHolder.getAllEvents();

            for (StreamEvent storeEvent : storeEvents) {
                if (storeEventCloner != null) {
                    returnEventChunk.add(storeEventCloner.copyStreamEvent(storeEvent));
                } else {
                    returnEventChunk.add(storeEvent);
                }
            }
            return returnEventChunk.getFirst();
        } else {
            return null;
        }
    }
Implementation of {@link CollectionExecutor} which handles non condition
modules/siddhi-core/src/main/java/io/siddhi/core/util/collection/executor/NonCollectionExecutor.java