public class QueryResultImpl extends Object implements QueryResult
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) |
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 QueryResult
public void setCount(Integer count)
setCount
in interface QueryResult
public List<Map<String,Node>> getResults()
getResults
in interface QueryResult
public void setResults(List<Map<String,Node>> results)
setResults
in interface QueryResult
public List<String> getVariableNames()
getVariableNames
in interface QueryResult
public void setVariableNames(List<String> variableNames)
setVariableNames
in interface QueryResult
Copyright © 2013 Nuxeo SA. All Rights Reserved.