Package org.dbwiki.data.query.condition

Examples of org.dbwiki.data.query.condition.INOp


    case XAQLToken.LGNEQ_OPERATOR:
    case XAQLToken.LIKE_OPERATOR:
    case XAQLToken.MATCHES_OPERATOR:
      return new ValueCondition(targetPath, quantifier, negated, new ValueOpFactory().get(operator.value().trim(), tokens.get(index++).value()), valueQuantifier);
    case XAQLToken.IN_OPERATOR:
      INOp inOp = (INOp)new ValueOpFactory().get(operator.value().trim(), tokens.get(index++).value());
      while (index < tokens.size()) {
        inOp.add(new ValueOpFactory().get("=", tokens.get(index++).value()));
      }
      return new ValueCondition(targetPath, quantifier, negated, inOp, valueQuantifier);
    default:
      throw new WikiFatalException("Unknown operator type");
    }
View Full Code Here

TOP

Related Classes of org.dbwiki.data.query.condition.INOp

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.