Interface ResultTransformer<T>

    • Method Detail

      • transformList

        default List<T> transformList​(List<T> resultList)
        Description copied from interface: ResultListTransformer
        Here we have an opportunity to perform transformation on the query result as a whole. This might be useful to convert from one collection type to another or to remove duplicates from the result, etc.
        Specified by:
        transformList in interface ResultListTransformer<T>
        resultList - The result list as would otherwise be returned from the Query without the intervention of this ResultListTransformer
        The transformed result.