Skip to main content

Aggregate (In Database)

Synopsis​

Performs an aggregation / GROUP BY operation on the current result.

Description​

This operator performs the well known GROUP BY operation using the specified list of grouping attributes. It then applies the specified aggregate functions on the selected columns. The aggregate functions can be defined in two different ways: either explicitly in a list, or by using the attribute selector and specifying a default aggregation function for these columns. The two methods can be combined. Note that the known HAVING clause from SQL can be simulated by an additional Filter Examples operator following this one.

Input​

example set input​

Output​

example set output​

Parameters​

Use default aggregation​

If checked you can select a default aggregation function for a subset of the attributes.

Attribute filter type​

The condition specifies which attributes are selected or affected by this operator.

Attribute​

The attribute which should be chosen.

Attributes​

The attribute which should be chosen.

Regular expression​

A regular expression for the names of the attributes which should be kept.

Use except expression​

If enabled, an exception to the specified regular expression might be specified. Attributes of matching this will be filtered out, although matching the first expression.

Except regular expression​

A regular expression for the names of the attributes which should be filtered out although matching the above regular expression.

Value type​

The value type of the attributes.

Use value type exception​

If enabled, an exception to the specified value type might be specified. Attributes of this type will be filtered out, although matching the first specified type.

Except value type​

Except this value type.

Block type​

The block type of the attributes.

Use block type exception​

If enabled, an exception to the specified block type might be specified.

Except block type​

Except this block type.

Numeric condition​

Parameter string for the condition, e.g. >= 5

Invert selection​

Indicates if only attributes should be accepted which would normally filtered.

Default aggregation function​

The type of the used aggregation function for all default attributes.

Aggregation attributes​

The attributes which should be aggregated.

Group by attributes​

Performs a grouping by the values of the attributes by the selected attributes.