Interface ResultTransformer<T>

Type Parameters:
T - Transformations target type
All Known Implementing Classes:
AbstractGroupByTransformer, GroupByGenericCollection, GroupByGenericMap, GroupByIterate, GroupByList, GroupByMap, GroupByProjection

public interface ResultTransformer<T>
Executes query on a FetchableQuery and transforms results into T. This can be used for example to group projected columns or to filter out duplicate results.
Author:
sasa
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute the given query and transform the results
  • Method Details

    • transform

      T transform(FetchableQuery<?,?> query)
      Execute the given query and transform the results
      Parameters:
      query - query to be used for execution
      Returns:
      transformed results