QueryFunctionCall

open class QueryFunctionCall : DataValue, @unchecked Sendable

Encapsulates the application of an OData query function to a list of arguments.

  • The function evaluator for custom local functions.

    Declaration

    Swift

    final public var callEvaluator: QueryFunctionCall.Evaluator?
  • Construct a new query function call with the specified function and arguments.

    Declaration

    Swift

    public init(queryFunction: QueryFunction, callArguments: DataValueList)

    Parameters

    queryFunction

    Query function.

    callArguments

    Function arguments.

  • The function arguments.

    Declaration

    Swift

    public final var callArguments: DataValueList { get set }
  • 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.

  • Data type with a DataType.code of DataType.QUERY_FUNCTION_CALL.

    Declaration

    Swift

    override open var dataType: DataType { get }
  • The function to be applied.

    Declaration

    Swift

    public final var queryFunction: QueryFunction { get set }
  • Convert this data value to a string. If the dataType is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used. JSON format is used for structured values (arrays and objects).

    Declaration

    Swift

    override open func toString() -> String

    Return Value

    Lexical representation of this data value.

  • Evaluator for custom local functions.

    See more

    Declaration

    Swift

    open class Evaluator : ObjectBase