private fun parseQueryResultInternal(record: Record, returnNodeName: SymbolicName, nodeQuery: QueryBase<*>): PartialNodeQueryResult

Parses the result of a query (a list of nodes, and optional a totalCount). Parses recursively

Return

the generated result

Parameters

record

the complete result of the query

returnNodeName

the name of the record entry which contains the main result of the query

nodeQuery

the query used to get the results


private fun parseQueryResultInternal(value: Value, nodeQuery: QueryBase<*>, entriesResults: Map<NodeSubQuery, Map<String, Value>>): PartialNodeQueryResult

Parses the result of a query (a list of nodes, and optional a totalCount) Parses recursively

Parameters

value

the main result of the query, contains the nodes and the optional totalCount

nodeQuery

the query used to get the results

entriesResults

lookup from sub query and parent node id to related nodes (not parsed yet)