Interface GroupCollector<T,R>

Type Parameters:
T - Element type
R - Target type (e.g. List, Set)

public interface GroupCollector<T,R>
A stateful collector of column values for a group.
Author:
sasa
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(T o)
    Add given value to this group
    get()
    Get the value for this group
  • Method Details

    • add

      void add(T o)
      Add given value to this group
      Parameters:
      o - value to add
    • get

      R get()
      Get the value for this group
      Returns:
      value of this group.