Package org.hibernate.hql.lucene.internal.builder.predicate

Examples of org.hibernate.hql.lucene.internal.builder.predicate.LuceneDisjunctionPredicate


      return new LuceneNegationPredicate(queryBuilder);
   }

   @Override
   public DisjunctionPredicate<Query> getDisjunctionPredicate() {
      return new LuceneDisjunctionPredicate(queryBuilder);
   }
View Full Code Here


      this.builder = builder;
   }

   @Override
   public Query getQuery() {
      LuceneDisjunctionPredicate predicate = new LuceneDisjunctionPredicate(builder);

      for (Object element : values) {
         IspnLuceneComparisonPredicate equals = new IspnLuceneComparisonPredicate(
               builder,
               propertyName,
               org.hibernate.hql.ast.spi.predicate.ComparisonPredicate.Type.EQUALS, element);

         predicate.add(equals);
      }

      return predicate.getQuery();
   }
View Full Code Here

TOP

Related Classes of org.hibernate.hql.lucene.internal.builder.predicate.LuceneDisjunctionPredicate

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.