public interface QueryBuilder<Q extends Query> extends FilterConditionBeginContext
Query
objects. An instance of this class can be obtained from QueryFactory
.
Type parameter Q will be removed in Infinispan 9.0
Modifier and Type | Method and Description |
---|---|
Q |
build()
Builds the query object.
|
QueryBuilder |
groupBy(String... attributePath) |
QueryBuilder |
maxResults(int maxResults) |
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 |
setProjection(String... attributePath)
Deprecated.
to be removed in 9.0
|
QueryBuilder |
startOffset(long startOffset) |
having, having, not, not
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)
@Deprecated QueryBuilder setProjection(String... attributePath)
select(String... attributePath)
QueryBuilder groupBy(String... attributePath)
QueryBuilder startOffset(long startOffset)
QueryBuilder maxResults(int maxResults)
Q build()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.