public class QueryResult extends Object implements ObjectSizeProvider
Constructor and Description |
---|
QueryResult()
This constructs an empty broker query result.
|
Modifier and Type | Method and Description |
---|---|
void |
addResultRow(QueryResultRow resultRow)
This adds a result to the broker query.
|
int |
getObjectSize()
Estimates the size in bytes of this object and the objects that it owns.
|
List<String> |
getResultIds()
This returns a list of found result tcmuri's.
|
List<QueryResultRow> |
getResultRows()
This returns all the detailed result rows found for the broker query.
|
<T> List<T> |
getResults(Class<T> desiredType)
This returns all the detailed result rows found for the broker query.
|
String |
toString() |
public List<String> getResultIds()
public List<QueryResultRow> getResultRows()
public <T> List<T> getResults(Class<T> desiredType)
public void addResultRow(QueryResultRow resultRow)
resultRow
- The resultRow to add to the result listpublic int getObjectSize()
ObjectSizeProvider
getObjectSize
in interface ObjectSizeProvider
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries