Skip to main content

Aggregation Functions

Overview

Aggregate blocks calculate a summary of a property or block. The calculation involves applying an aggregation function to the input property and potentially organizing its results into groups. Aggregation functions are the functions used to aggregate input for a block.

Aggregators

Below is the list of aggregators available in NetSpring:

AggregatorDescription
avgComputes the average of the values in the input provided.
countCounts the total number of values in the input provided, including duplicates.
unique countCounts the number of unique values in the input provided.
firstComputes the first value in the input provided. The first value is determined by ordering all inputs by event time.
lastComputes the last value in the input provided. The last value is determined by ordering all inputs by event time.
maxComputes the maximum value in the input provided.
minComputes the minimum value in the input provided.
sumSums all the values in the input provided.