public interface QueryBuilder extends FilterConditionBeginContext, PaginationContext<QueryBuilder>
Query
objects. An instance of this class can be obtained from QueryFactory
.Modifier and Type | Method and Description |
---|---|
Query |
build()
Builds the query object.
|
QueryBuilder |
groupBy(String... attributePath) |
QueryBuilder |
orderBy(Expression expression) |
QueryBuilder |
orderBy(Expression expression,
SortOrder sortOrder) |
QueryBuilder |
orderBy(String attributePath) |
QueryBuilder |
orderBy(String attributePath,
SortOrder sortOrder) |
QueryBuilder |
select(Expression... projection) |
QueryBuilder |
select(String... attributePath) |
having, having, not, not
maxResults, startOffset
QueryBuilder orderBy(Expression expression)
QueryBuilder orderBy(Expression expression, SortOrder sortOrder)
QueryBuilder orderBy(String attributePath)
QueryBuilder orderBy(String attributePath, SortOrder sortOrder)
QueryBuilder select(Expression... projection)
QueryBuilder select(String... attributePath)
QueryBuilder groupBy(String... attributePath)
Query build()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.