public class QueryResult<T>
extends java.lang.Object
Constructor and Description |
---|
QueryResult(int skipped,
int count,
int total,
java.util.Collection<T> results) |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
The actual number of results returned.
|
int |
getOffset()
Offset from the start, begins at 0.
|
java.util.List<T> |
getResults()
The total results in the result set.
|
int |
getTotal()
The total number of results matching the query.
|
java.lang.String |
toString() |
public QueryResult(int skipped, int count, int total, java.util.Collection<T> results)
public int getOffset()
public int getCount()
public int getTotal()
@Nonnull public java.util.List<T> getResults()
public java.lang.String toString()
toString
in class java.lang.Object