Class AggSpecVar

All Implemented Interfaces:
AggSpec

@Immutable public abstract class AggSpecVar extends AggSpecEmptyBase
Specifies an aggregation that outputs the sample variance of the input column values for each group. Only works for numeric input types. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.
See Also:
  • Constructor Details

    • AggSpecVar

      public AggSpecVar()
  • Method Details

    • of

      public static AggSpecVar of()
    • description

      public final String description()
      Description copied from interface: AggSpec
      Get a simple description for this AggSpec.
      Returns:
      The description
    • walk

      public final <V extends AggSpec.Visitor> V walk(V visitor)
      Description copied from interface: AggSpec
      Glue method to deliver this AggSpec to a AggSpec.Visitor.
      Parameters:
      visitor - The visitor
      Returns:
      The visitor