Interface CriteriaQueryBuilder<QB extends CriteriaQueryBuilder<QB,RT,QW>,RT,QW extends CriteriaQueryWrapper<RT>>

All Superinterfaces:
QueryBuilderBase<QB,QW>
All Known Subinterfaces:
EntityQueryBuilder<T>, PathQueryBuilder<T>, PrimaryKeyQueryBuilder, SinglePathQueryBuilder<T>
All Known Implementing Classes:
AbstractPathQueryBuilder, CriteriaQueryBuilderImpl, EntityQueryBuilderImpl, PathQueryBuilderImpl, PrimaryKeyQueryBuilderImpl, SinglePathQueryBuilderImpl

public interface CriteriaQueryBuilder<QB extends CriteriaQueryBuilder<QB,RT,QW>,RT,QW extends CriteriaQueryWrapper<RT>> extends QueryBuilderBase<QB,QW>
Base interface for query builders that return multiple result rows and provides methods for ordering and limiting results.
  • Method Details

    • getQueryRoot

      jakarta.persistence.criteria.Root<?> getQueryRoot()
      Specified by:
      getQueryRoot in interface QueryBuilderBase<QB extends CriteriaQueryBuilder<QB,RT,QW>,RT>
      Returns:
      the Root or Join instance that represents the root entity of the query
    • setOffset

      QB setOffset(int offset)
    • setLimit

      QB setLimit(int limit)
    • addOrder

      QB addOrder(jakarta.persistence.criteria.Order order)
    • addOrder

      QB addOrder(Ordering ordering)
    • applyConfiguration

      QB applyConfiguration(QueryConfigurator queryConfigurator)