Package 

Class JpaQueryBuilder

  • All Implemented Interfaces:
    com.weedow.spring.data.search.query.QueryBuilder

    
    public final class JpaQueryBuilder<T extends Object>
     implements QueryBuilder<T>
                        

    JPA QueryBuilder implementation.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final QEntityRoot<T> qEntityRoot
    • Constructor Summary

      Constructors 
      Constructor Description
      JpaQueryBuilder(DataSearchContext dataSearchContext, AbstractJPAQuery<T, ?> query, QEntityRoot<T> qEntityRoot)
    • Method Summary

      Modifier and Type Method Description
      Unit distinct()
      QEntityJoin<?> join(QPath<?> qPath, JoinType joinType, Boolean fetched)
      Predicate and(Expression<Boolean> x, Expression<Boolean> y)
      Predicate and(Predicate restrictions)
      Predicate or(Expression<Boolean> x, Expression<Boolean> y)
      Predicate or(Predicate restrictions)
      Predicate not(Expression<Boolean> restriction)
      Predicate equal(Expression<?> x, Object value)
      Predicate isNull(Expression<?> x)
      Predicate like(Expression<String> x, String value)
      Predicate ilike(Expression<String> x, String value)
      Predicate lessThan(Expression<?> x, Object value)
      Predicate lessThanOrEquals(Expression<?> x, Object value)
      Predicate greaterThan(Expression<?> x, Object value)
      Predicate greaterThanOrEquals(Expression<?> x, Object value)
      Predicate in(Expression<?> x, Collection<?> values)
      QEntityRoot<T> getQEntityRoot()
      • Methods inherited from class com.weedow.spring.data.search.query.QueryBuilder

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JpaQueryBuilder

        JpaQueryBuilder(DataSearchContext dataSearchContext, AbstractJPAQuery<T, ?> query, QEntityRoot<T> qEntityRoot)
        Parameters:
        dataSearchContext - DataSearchContext
        query - AbstractJPAQuery
        qEntityRoot - QEntityRoot