Package com.exedio.cope
Class Query.Result<R>
java.lang.Object
com.exedio.cope.Query.Result<R>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <R> Query.Result<R>
empty()
boolean
int
Deprecated.getData()
int
getLimit()
Deprecated.UsegetPageLimitOrMinusOne()
instead.int
Deprecated.UsegetPageOffset()
instead.int
int
int
getTotal()
int
hashCode()
toString()
-
Constructor Details
-
Result
-
Result
-
-
Method Details
-
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
.
-
equals
-
hashCode
public int hashCode() -
toString
-
empty
-
getOffset
Deprecated.UsegetPageOffset()
instead. -
getLimit
Deprecated.UsegetPageLimitOrMinusOne()
instead. -
getCountWithoutLimit
Deprecated.UsegetTotal()
instead
-
getTotal()
instead