GroupTransform
open class GroupTransform : TransformValue, @unchecked Sendable
Represents the ‘groupby’ transformation.
-
The list of transformations to be applied for the property paths.
Declaration
Swift
final public var transformValues: TransformValueList? -
Adds new aggregate items to the tranform instance.
Declaration
Swift
open func aggregate(_ items: AggregateValue...) -> GroupTransformParameters
rest_itemsThe transform items to be added.
Return Value
The tranform instance
-
Adds new aggregate item list to the tranform instance.
Declaration
Swift
open func aggregateList(items: AggregateValueList) -> GroupTransformParameters
itemsThe transform items to be added.
Return Value
The tranform instance.
-
Declaration
Swift
override open func copyMutable() -> DataValueReturn Value
A clone of this value if it (together with all value subcomponents) is possibly mutable, or return
selfvalue if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query. -
Creates an ‘groupby’ transformation with the given properties.
Declaration
Swift
open class func groupBy(_ items: PropertyPath...) -> GroupTransformParameters
rest_itemsThe properties for grouping.
Return Value
The created item.
-
Creates an ‘groupby’ transformation with the given properties.
Declaration
Swift
open class func groupByList(items: PropertyPathList) -> GroupTransformParameters
itemsThe properties for grouping.
Return Value
The created item.
-
The list of property paths for the group transformation.
Declaration
Swift
public final var groupingPaths: PropertyPathList { get } -
Adds new transform items to the tranform instance.
Declaration
Swift
open func transform(_ items: TransformValue...) -> GroupTransformParameters
rest_itemsThe transform items to be added.
Return Value
The transform instance.
-
Adds new transform itemlist to the tranform instance.
Declaration
Swift
open func transformList(items: TransformValueList) -> GroupTransformParameters
itemsThe transform items to be added.
Return Value
The transform instance.