TransformValue

open class TransformValue : QueryValue

Encapsulates an OData transformation item defined in OData Data Aggregation. A TransformValue indicates an expression that is used in the $apply system query option.

  • Child transform items to be executed after the current transform value is executed.

    Declaration

    Swift

    final public var items: TransformValueList
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Adds a new transformation item to be executed after the current one. It will be separated by a ‘/’ in the query url.

    Declaration

    Swift

    open func chain(_ item: TransformValue) -> TransformValue

    Parameters

    item

    The transform value to be executed after the current one.

    Return Value

    The current transform value.

  • Declaration

    Swift

    override open func copyMutable() -> DataValue

    Return Value

    A clone of this value if it (together with all value subcomponents) is possibly mutable, or return self value if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query.