@Override
    public Cost getDefaultCost() {
        Cost leftCost = leftCollectionExecutor.getDefaultCost();
        Cost rightCost = rightCollectionExecutor.getDefaultCost();
        if (leftCost.getWeight() < rightCost.getWeight()) {
            return rightCost;
        } else {
            return leftCost;
        }
    }
Implementation of {@link CollectionExecutor} which handles or condition
modules/siddhi-core/src/main/java/io/siddhi/core/util/collection/executor/OrCollectionExecutor.java