Gets an entry by NodeQueryEntry.resultKeyPath. As multiple subqueries can use the same resultKeyPath if they use different NodeQueryEntry.onlyOnTypes, a list of NodeDefinitions may be necessary to get the correct subquery. This is provided as provider as evaluation is expensive and only necessary in few cases
Return
the found subquery
Parameters
resultKey
the key of the subquery
nodeDefinitionProvider
provides the set of NodeDefinitions for which the subquery must be fetched