Class QueryResultImpl
java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.QueryResultImpl
- All Implemented Interfaces:
Serializable,QueryResult
Query results.
- Author:
- Anahide Tchertchian
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCount()voidvoidsetResults(List<Map<String, Node>> results) voidsetVariableNames(List<String> variableNames)
-
Field Details
-
count
-
variableNames
-
results
-
-
Constructor Details
-
QueryResultImpl
Constructor for query result.- Parameters:
count- integer number of resultsvariableNames- list of variable names as requested in queryresults- list of variable names/nodes found mapping
-
-
Method Details
-
getCount
- Specified by:
getCountin interfaceQueryResult
-
setCount
- Specified by:
setCountin interfaceQueryResult
-
getResults
- Specified by:
getResultsin interfaceQueryResult
-
setResults
- Specified by:
setResultsin interfaceQueryResult
-
getVariableNames
- Specified by:
getVariableNamesin interfaceQueryResult
-
setVariableNames
- Specified by:
setVariableNamesin interfaceQueryResult
-