Class GroupOperationField<T>

java.lang.Object
com.northconcepts.datapipeline.group.GroupOperationField<T>

public abstract class GroupOperationField<T> extends Object
Accumulates one GroupOperation's result for a single group within a Window.
  • Constructor Details

    • GroupOperationField

      public GroupOperationField(GroupOperation<T> operation)
  • Method Details

    • getOperation

      public GroupOperation<T> getOperation()
    • apply

      protected abstract void apply(Record record, Field field)
      Adds a record of the group to this result; field is the record's source field or null if the operation has none.
    • getValue

      protected abstract T getValue()
      Returns the result written to the group's summary record.
    • toString

      public String toString()
      Overrides:
      toString in class Object