|
||||||||||
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. |
|
QueryModifiers(QueryModifiers modifiers)
|
Method Summary | |
---|---|
Long |
getLimit()
Gets the limit. |
Long |
getOffset()
Gets the offset. |
boolean |
isRestricting()
Checks if is restricting. |
static QueryModifiers |
limit(long limit)
|
static QueryModifiers |
offset(long 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 offsetpublic QueryModifiers(QueryModifiers modifiers)
modifiers
- Method Detail |
---|
public static QueryModifiers limit(@Nonnegative long limit)
public static QueryModifiers offset(@Nonnegative long offset)
@Nullable public Long getLimit()
@Nullable public Long getOffset()
public boolean isRestricting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |