|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.QueryModifiers
@Immutable public final class QueryModifiers
QueryModifiers combines limit and offset info into a single type.
Constructor Summary | |
---|---|
QueryModifiers()
Instantiates a new query modifiers. |
|
QueryModifiers(Long limit,
Long offset)
Instantiates a new query modifiers. |
Method Summary | |
---|---|
Long |
getLimit()
Gets the limit. |
Long |
getOffset()
Gets the offset. |
boolean |
isRestricting()
Checks if is restricting. |
static QueryModifiers |
limit(long limit)
Limit. |
static QueryModifiers |
offset(long offset)
Offset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryModifiers()
public QueryModifiers(@Nullable Long limit, @Nullable Long offset)
limit
- the limitoffset
- the offsetMethod Detail |
---|
public static QueryModifiers limit(@Nonnegative long limit)
limit
- the limit
public static QueryModifiers offset(@Nonnegative long offset)
offset
- the offset
public Long getLimit()
public Long getOffset()
public boolean isRestricting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |