Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • group_by: An optional list of attributes over which the grouping should occur.
  • aggregations: A list if elements where each element contains up to four string:
    • The name of the aggregate function, e.g. MAX
    • The input attribute over which the aggregation should be done
    • The name of the output attribute for this aggregation
    • The optional type of the output
  • dumpAtValueCount: This parameter is used in the interval approach. Here a result is generated, each time an aggregation cannot be changed anymore. This leads to fewer results with a larger validity. With this parameter the production rate can be raised. A value of 1 means, that for every new element the aggregation operator receives new output elements are generated. This leads to more results with a shorter validity.

Example:

...

Aggregation Functions

The set of aggregate functions is extensible. The following list is in the core Odysseus:

...

  • FIRST: The first element
  • LAST: The last element
  • NTH: The nth element
  • RATE:??: The number of elements per time unit

Example:

 

Code Block
themeEclipse
languagejavascript
titleAggregate Operator
linenumberstrue
output = aggregate({group_by = ['bidder'], aggregations=[ ['MAX', 'price', 'max_price', 'double'] ]}, input)

 

ASSUREHEARTBEAT

Description

...