Class GroupByProjection<K,V>

Type Parameters:
K -
V -
All Implemented Interfaces:
ResultTransformer<Map<K,V>>

public abstract class GroupByProjection<K,V> extends GroupByMap<K,V>
GroupByProjection provides projection of the Group results via the transform template method
Author:
tiwe
  • Constructor Details

  • Method Details

    • transform

      protected Map<K,V> transform(Map<K,Group> groups)
      Overrides:
      transform in class GroupByMap<K,V>
    • transform

      protected abstract V transform(Group group)
      Creates a result object from the given group
      Parameters:
      group - group instance to transform
      Returns:
      transformed group