Child pages
  • Admin API Complex Type aggregationField

This documentation is for a previous version of Flexiant Cloud Orchestrator. The most recent version is v5.0. For the most recent documentation please see here

Skip to end of metadata
Go to start of metadata

Description
The Aggregation class specifies a aggregation function that can be executed in a complex database query.
Derived By
Restricting anyType
Content Model
Contains elements as defined in the following table.

Component

Type

Occurs

Description

aggregationFunction

aggregation

0..1

The aggregation function to use

fieldName

string

0..1

The name of the field to be aggregated in FQL dot notation

Remarks
The database query acts on a particular type of resource or pseudo-resource, including unit transactions, unit transaction summaries, products, and product purchases. The query can optionally aggregate (e.g. produce sums, counts, minima, maxima and averages) and/or group by one or more fields. Field names are given in FQL dot notation.
The fields returned by the query will be those in the output array and those in the aggregation list. Putting a field within the 'group by' list will not cause it to appear in the output. All field names are given in FQL dot notation. In the query result, aggregated fields will appear with names such as SUM(disk.size), i.e. with the aggregation type enum value followed by the aggregated field in parenthesis.

  • No labels