Package org.infinispan.objectfilter.impl.syntax

Examples of org.infinispan.objectfilter.impl.syntax.PropertyValueExpr


   }

   @Override
   public BooleanExpr getQuery() {
      return new AndExpr(
            new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) lower), ComparisonExpr.Type.GREATER_OR_EQUAL),
            new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) upper), ComparisonExpr.Type.LESS_OR_EQUAL)
      );
   }
View Full Code Here


      super(propertyName, patternValue, null);
   }

   @Override
   public BooleanExpr getQuery() {
      return new LikeExpr(new PropertyValueExpr(propertyName), patternValue);
   }
View Full Code Here

      super(propertyName, comparisonType, comparisonValue);
   }

   @Override
   protected BooleanExpr getStrictlyLessQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.LESS);
   }
View Full Code Here

      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.LESS);
   }

   @Override
   protected BooleanExpr getLessOrEqualsQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.LESS_OR_EQUAL);
   }
View Full Code Here

      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.LESS_OR_EQUAL);
   }

   @Override
   protected BooleanExpr getEqualsQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.EQUAL);
   }
View Full Code Here

      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.EQUAL);
   }

   @Override
   protected BooleanExpr getGreaterOrEqualsQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.GREATER_OR_EQUAL);
   }
View Full Code Here

      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.GREATER_OR_EQUAL);
   }

   @Override
   protected BooleanExpr getStrictlyGreaterQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr((Comparable) value), ComparisonExpr.Type.GREATER);
   }
View Full Code Here

      super(propertyName);
   }

   @Override
   public BooleanExpr getQuery() {
      return new IsNullExpr(new PropertyValueExpr(propertyName));
   }
View Full Code Here

      super(propertyName, comparisonType, comparisonValue);
   }

   @Override
   protected BooleanExpr getStrictlyLessQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr(value), type);
   }
View Full Code Here

      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr(value), type);
   }

   @Override
   protected BooleanExpr getLessOrEqualsQuery() {
      return new ComparisonExpr(new PropertyValueExpr(propertyName), new ConstantValueExpr(value), type);
   }
View Full Code Here

TOP

Related Classes of org.infinispan.objectfilter.impl.syntax.PropertyValueExpr

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.