public class QueryResultImpl extends Object implements QueryResult
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
count |
protected List<Map<String,Node>> |
results |
protected List<String> |
variableNames |
| Constructor and Description |
|---|
QueryResultImpl(Integer count,
List<String> variableNames,
List<Map<String,Node>> results)
Constructor for query result.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCount() |
List<Map<String,Node>> |
getResults() |
List<String> |
getVariableNames() |
void |
setCount(Integer count) |
void |
setResults(List<Map<String,Node>> results) |
void |
setVariableNames(List<String> variableNames) |
protected List<String> variableNames
public QueryResultImpl(Integer count, List<String> variableNames, List<Map<String,Node>> results)
count - integer number of resultsvariableNames - list of variable names as requested in queryresults - list of variable names/nodes found mappingpublic Integer getCount()
getCount in interface QueryResultpublic void setCount(Integer count)
setCount in interface QueryResultpublic List<Map<String,Node>> getResults()
getResults in interface QueryResultpublic void setResults(List<Map<String,Node>> results)
setResults in interface QueryResultpublic List<String> getVariableNames()
getVariableNames in interface QueryResultpublic void setVariableNames(List<String> variableNames)
setVariableNames in interface QueryResultCopyright © 2019 Nuxeo. All rights reserved.