Package org.infinispan.objectfilter.impl.predicateindex

Examples of org.infinispan.objectfilter.impl.predicateindex.Predicate


         throw new IllegalStateException("Unexpected *Expr node type: " + child);
      }
   }

   private void makePredicateNode(BENode parent, List<BENode> nodes, List<Integer> treeCounters, PrimaryPredicateExpr condition, boolean isNegated) {
      Predicate predicate = makePredicate(condition);
      List<String> propertyPath = ((PropertyValueExpr) condition.getChild()).getPropertyPath();
      List<AttributeId> translatedPath = attributePathTranslator.translatePath(propertyPath);
      boolean isRepeated = attributePathTranslator.isRepeated(propertyPath);
      PredicateNode node = new PredicateNode<AttributeId>(parent, predicate, isNegated, translatedPath, isRepeated);
      node.setLocation(nodes.size(), nodes.size() + 1);
View Full Code Here


         throw new IllegalStateException("Unexpected *Expr node type: " + child);
      }
   }

   private void makePredicateNode(BENode parent, List<BENode> nodes, List<Integer> treeCounters, PrimaryPredicateExpr condition, boolean isNegated) {
      Predicate predicate = makePredicate(condition);
      List<String> propertyPath = ((PropertyValueExpr) condition.getChild()).getPropertyPath();
      List<AttributeId> translatedPath = attributePathTranslator.translatePropertyPath(propertyPath);
      boolean isRepeated = attributePathTranslator.isRepeatedProperty(propertyPath);
      PredicateNode node = new PredicateNode<AttributeId>(parent, predicate, isNegated, translatedPath, isRepeated);
      node.setLocation(nodes.size(), nodes.size() + 1);
View Full Code Here

TOP

Related Classes of org.infinispan.objectfilter.impl.predicateindex.Predicate

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.