AggregateValue
open class AggregateValue : TransformValue
Encapsulates an OData aggregate transformation item.
-
The list of aggregate expressions
Declaration
Swift
public final var aggregateExpressionList: AggregateExpressionList { get } -
Creates a $count aggregate transformation item.
Declaration
Swift
open class func count(as alias: String) -> AggregateValueParameters
aliasThe alias for the aggregate item.
Return Value
The aggregate transformation value.
-
Creates an aggregate transformation item.
Declaration
Swift
open class func create(_ value: DataValue?, method: AggregateMethod?, alias: String?) -> AggregateValueParameters
valueThe value to be aggregated.
methodThe aggregate method to be used for aggregating.
aliasThe alias for the returned result property.
Return Value
The aggregate transformation value.
-
Creates an aggregate transformation item with an AggregateExpressionList
Declaration
Swift
open class func createWithExpressionList(aggregateExpressionList: AggregateExpressionList) -> AggregateValueParameters
aggregateExpressionListThe list of aggregate expressions.
Return Value
The aggregate transformation value.