AggregateMethod
open class AggregateMethod: ObjectBase
Represents the method of the aggregate transformation item.
-
Represents the ‘sum’ aggregate method.
Declaration
Swift
public static let sum: AggregateMethod = AggregateMethod._new1_in_AggregateMethod("sum")
-
Represents the ‘average’ aggregate method.
Declaration
Swift
public static let average: AggregateMethod = AggregateMethod._new1_in_AggregateMethod("average")
-
Represents the ‘min’ aggregate method.
Declaration
Swift
public static let minimum: AggregateMethod = AggregateMethod._new1_in_AggregateMethod("min")
-
Represents the ‘max’ aggregate method.
Declaration
Swift
public static let maximum: AggregateMethod = AggregateMethod._new1_in_AggregateMethod("max")
-
Represents the ‘countdistinct’ aggregate method.
Declaration
Swift
public static let countDistinct: AggregateMethod = AggregateMethod._new1_in_AggregateMethod("countdistinct")
-
Creates a custom aggregate method.
Declaration
Swift
open class func custom(_ name: String) throws -> AggregateMethod
Parameters
name
The name of the custom aggregate method.
Return Value
A custom aggregate method.
-
The name of the aggregate method.
Declaration
Swift
open var name: String