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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
void
void
setResults
(List<Map<String, Node>> results) void
setVariableNames
(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:
getCount
in interfaceQueryResult
-
setCount
- Specified by:
setCount
in interfaceQueryResult
-
getResults
- Specified by:
getResults
in interfaceQueryResult
-
setResults
- Specified by:
setResults
in interfaceQueryResult
-
getVariableNames
- Specified by:
getVariableNames
in interfaceQueryResult
-
setVariableNames
- Specified by:
setVariableNames
in interfaceQueryResult
-