Q - concrete subtypepublic interface SimpleQuery<Q extends SimpleQuery<Q>> extends FilteredClause<Q>
SimpleQuery defines a simple querying interface than QueryQuery| Modifier and Type | Method and Description | 
|---|---|
Q | 
distinct()
Set the Query to return distinct results 
 | 
Q | 
limit(@Range(from=0L,to=2147483647L) long limit)
Set the limit / max results for the query results 
 | 
Q | 
offset(@Range(from=0L,to=2147483647L) long offset)
Set the offset for the query results 
 | 
Q | 
orderBy(OrderSpecifier<?>... o)
Add order expressions 
 | 
Q | 
restrict(QueryModifiers modifiers)
Set both limit and offset of the query results 
 | 
<T> Q | 
set(ParamExpression<T> param,
   T value)
Set the given parameter to the given value 
 | 
whereQ limit(@Range(from=0L,to=2147483647L) long limit)
limit - max rowsQ offset(@Range(from=0L,to=2147483647L) long offset)
offset - row offsetQ restrict(QueryModifiers modifiers)
modifiers - query modifiersQ orderBy(OrderSpecifier<?>... o)
o - order<T> Q set(ParamExpression<T> param, T value)
T - param - paramvalue - bindingQ distinct()
Copyright © 2007–2021 Querydsl. All rights reserved.