public class QueryOutcome
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private QueryResult |
result |
Constructor and Description |
---|
QueryOutcome(QueryResult result) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Item> |
getItems()
Returns a non-null list of the returned items; can be empty.
|
QueryResult |
getQueryResult()
Returns a non-null low-level result returned from the server side.
|
java.lang.String |
toString() |
private final QueryResult result
public QueryOutcome(QueryResult result)
result
- the low-level result; must not be nullpublic java.util.List<Item> getItems()
public QueryResult getQueryResult()
public java.lang.String toString()
toString
in class java.lang.Object