Package com.exedio.cope
Class Query.Result<R>
- java.lang.Object
-
- com.exedio.cope.Query.Result<R>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <R> Query.Result<R>
empty()
boolean
equals(Object other)
int
getCountWithoutLimit()
Deprecated.UsegetTotal()
insteadList<R>
getData()
int
getLimit()
Deprecated.UsegetPageLimitOrMinusOne()
instead.int
getOffset()
Deprecated.UsegetPageOffset()
instead.int
getPageLimitOrMinusOne()
int
getPageOffset()
int
getTotal()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getData
public List<R> getData()
- Returns:
- the result of
Query.search()
evaluated within the execution ofQuery.searchAndTotal()
that created thisResult
.
-
getTotal
public int getTotal()
- Returns:
- the result of
Query.total()
evaluated within the execution ofQuery.searchAndTotal()
that created thisResult
.
-
getPageOffset
public int getPageOffset()
- Returns:
- the result of
Query.getPageOffset()
evaluated within the execution ofQuery.searchAndTotal()
that created thisResult
.
-
getPageLimitOrMinusOne
public int getPageLimitOrMinusOne()
- Returns:
- the result of
Query.getPageLimitOrMinusOne()
evaluated within the execution ofQuery.searchAndTotal()
that created thisResult
.
-
empty
public static <R> Query.Result<R> empty()
-
getOffset
@Deprecated public int getOffset()
Deprecated.UsegetPageOffset()
instead.
-
getLimit
@Deprecated public int getLimit()
Deprecated.UsegetPageLimitOrMinusOne()
instead.
-
getCountWithoutLimit
@Deprecated public int getCountWithoutLimit()
Deprecated.UsegetTotal()
instead
-
-