Options
All
  • Public
  • Public/Protected
  • All
Menu

Module aggregation/Aggregators

Index

Functions

  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<Long>

    an aggregator that counts the input values. Accepts nulls as input values. Aggregation result type Long.

  • distinct<R>(attributePath?: string): Aggregator<Set<R>>
  • Type Parameters

    • R

      type of the return object.

    Parameters

    • Optional attributePath: string

      extracts values from this path if given.

    Returns Aggregator<Set<R>>

    an aggregator that calculates the distinct set of input values. Accepts null input values. Aggregation result type is a Set of R.

  • doubleAvg(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the average of the input values. Does NOT accept null input values. Accepts only Double input values (primitive and boxed). Aggregation result type is number.

  • doubleSum(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the sum of the input values. Does NOT accept null input values. Accepts only Double input values (primitive and boxed). Aggregation result type is number.

  • fixedPointSum(attributePath?: string): Aggregator<Long>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<Long>

    an aggregator that calculates the sum of the input values. Does NOT accept null input values. Accepts generic Number input values. Aggregation result type is Long.

  • floatingPointSum(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the sum of the input values. Does NOT accept null input values. Accepts generic Number input values. Aggregation result type is number.

  • integerAvg(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the average of the input values. Does NOT accept null input values. Accepts only Integer input values (primitive and boxed). Aggregation result type is number.

  • integerSum(attributePath?: string): Aggregator<Long>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<Long>

    an aggregator that calculates the sum of the input values. Does NOT accept null input values. Accepts only Integer input values (primitive and boxed). Aggregation result type is Long.

  • longAvg(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the average of the input values. Does NOT accept null input values. Accepts only Long input values (primitive and boxed). Aggregation result type is number.

  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<Long>

    an aggregator that calculates the sum of the input values. Does NOT accept null input values. Accepts only Long input values (primitive and boxed). Aggregation result type is Long.

  • Type Parameters

    • R

      type of the input object.

    Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<R>

    an aggregator that calculates the max of the input values. Accepts null input values. Aggregation result type is R.

  • Type Parameters

    • R

      type of the input object.

    Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<R>

    an aggregator that calculates the min of the input values. Accepts null input values. Aggregation result type is R.

  • numberAvg(attributePath?: string): Aggregator<number>
  • Parameters

    • Optional attributePath: string

      extracts values from this path if given

    Returns Aggregator<number>

    an aggregator that calculates the average of the input values. Does NOT accept null input values. Accepts generic Number input values. Aggregation result type is number.

Generated using TypeDoc