Package | Description |
---|---|
com.querydsl.core |
Basic Query elements
|
com.querydsl.core.support |
Various support classes
|
com.querydsl.hibernate.search |
Hibernate Search support
|
com.querydsl.lucene3 |
Lucene 3 support
|
com.querydsl.lucene4 |
Lucene 4 support
|
com.querydsl.lucene5 |
Lucene 5 support
|
com.querydsl.mongodb |
MongoDB support
|
Modifier and Type | Field and Description |
---|---|
static QueryModifiers |
QueryModifiers.EMPTY
No limit and not offset restriction
|
Modifier and Type | Method and Description |
---|---|
QueryModifiers |
QueryMetadata.getModifiers()
Get the QueryModifiers
|
QueryModifiers |
EmptyMetadata.getModifiers() |
QueryModifiers |
DefaultQueryMetadata.getModifiers() |
static QueryModifiers |
QueryModifiers.limit(long limit) |
static QueryModifiers |
QueryModifiers.offset(long offset) |
Modifier and Type | Method and Description |
---|---|
Q |
SimpleQuery.restrict(QueryModifiers modifiers)
Set both limit and offset of the query results
|
void |
QueryMetadata.setModifiers(QueryModifiers restriction)
Set the query modifiers limit and offset
|
void |
EmptyMetadata.setModifiers(QueryModifiers restriction) |
void |
DefaultQueryMetadata.setModifiers(QueryModifiers restriction) |
Constructor and Description |
---|
QueryModifiers(QueryModifiers modifiers) |
QueryResults(List<T> results,
QueryModifiers mod,
long total)
Create a new
QueryResults instance |
Modifier and Type | Method and Description |
---|---|
T |
QueryMixin.restrict(QueryModifiers modifiers) |
Q |
QueryBase.restrict(QueryModifiers modifiers)
Defines both limit and offset of the query results,
use
EMPTY to apply no paging. |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractSearchQuery.restrict(QueryModifiers modifiers) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.restrict(QueryModifiers modifiers) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.restrict(QueryModifiers modifiers) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.restrict(QueryModifiers modifiers) |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBCursor |
AbstractMongodbQuery.createCursor(com.mongodb.DBCollection collection,
Predicate where,
Expression<?> projection,
QueryModifiers modifiers,
List<OrderSpecifier<?>> orderBy) |
Q |
AbstractMongodbQuery.restrict(QueryModifiers modifiers) |
Copyright © 2007–2016 Querydsl. All rights reserved.