Package org.apache.jackrabbit.oak.query.ast

Examples of org.apache.jackrabbit.oak.query.ast.ComparisonImpl


    private Set<String> findMultiProperty(OrImpl or) {
        Set<String> values = newLinkedHashSet();
        for (ConstraintImpl constraint : or.getConstraints()) {
            if (constraint instanceof ComparisonImpl) {
                ComparisonImpl comparison = (ComparisonImpl) constraint;
                if (isIndexed(comparison.getOperand1())
                        && comparison.getOperator() == Operator.EQUAL) {
                    values.addAll(encode(comparison.getOperand2().currentValue()));
                } else {
                    return null;
                }
            } else if (constraint instanceof InImpl) {
                InImpl in = (InImpl) constraint;
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.query.ast.ComparisonImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.