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
-
Represents the ‘average’ aggregate method.
Declaration
Swift
public static let average: AggregateMethod
-
Represents the ‘min’ aggregate method.
Declaration
Swift
public static let minimum: AggregateMethod
-
Represents the ‘max’ aggregate method.
Declaration
Swift
public static let maximum: AggregateMethod
-
Represents the ‘countdistinct’ aggregate method.
Declaration
Swift
public static let countDistinct: AggregateMethod
-
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
@inline(__always) public final var name: String { get }