Interface QueryBuilderResultHelperService

All Known Implementing Classes:
QueryBuilderResultHelperServiceServiceImpl

public interface QueryBuilderResultHelperService
  • Method Summary

    Modifier and Type
    Method
    Description
    <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

      <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. null values and duplicates are filtered out. last path step must be a field
    • resolveToOne

      @Nullable <T> T resolveToOne(Map map, String pathToResolve, String rootModel)
      resolve (nested) path from query builder result map and return result item. only to one relations are allowed, else an IllegalArgumentException is thrown. last path step must be a field