QueryOperatorCall
open class QueryOperatorCall : DataValue
Encapsulates the application of an OData query operator to a list of arguments.
-
Construct a new query operator call with the specified operator and arguments.
Declaration
Swift
public init(queryOperator: QueryOperator, callArguments: DataValueList)
Parameters
queryOperator
Query operator.
callArguments
Operator arguments.
-
The operator 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
ofDataType.QUERY_OPERATOR_CALL
.Declaration
Swift
override open var dataType: DataType { get }
-
The operator to be applied.
Declaration
Swift
public final var queryOperator: QueryOperator { 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.