Interface QueryBuilderResultHelperService
- All Known Implementing Classes:
QueryBuilderResultHelperServiceServiceImpl
public interface QueryBuilderResultHelperService
-
Method Summary
Modifier and TypeMethodDescription<T> Set
<T> resolveToMany
(Map map, String pathToResolve, String rootModel) resolve (nested) path from query builder result map and return a set of result items.<T> T
resolveToOne
(Map map, String pathToResolve, String rootModel) resolve (nested) path from query builder result map and return result item.
-
Method Details
-
resolveToMany
resolve (nested) path from query builder result map and return a set of result items. null values and duplicates are filtered out. last path step must be a field -
resolveToOne
resolve (nested) path from query builder result map and return result item. only to one relations are allowed, else anIllegalArgumentException
is thrown. last path step must be a field
-