Representation of a filter function, that returns a value of type number. This supports int, double and decimal values.

Type Parameters

Hierarchy

  • OrderableFilterFunction<EntityT, number>
    • NumberFilterFunction

Constructors

  • Creates an instance of NumberFilterFunction.

    Type Parameters

    Parameters

    • functionName: string

      Name of the function that returns a numeric value.

    • parameters: FilterFunctionParameterType<EntityT>[]

      Representation of the parameters passed to the filter function.

    • edmType: "Edm.Decimal" | "Edm.Double" | "Edm.Int32"

      Type of the returned numeric value. This influences the formatting of the returned value.

    Returns NumberFilterFunction<EntityT>

Properties

edmType: EdmTypeShared<ODataVersionOf<EntityT>>
functionName: string
parameters: FilterFunctionParameterType<EntityT>[]

Methods

  • Creates an instance of Filter for this filter function and the given value using the operator 'eq', i.e. ==.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

  • Creates an instance of Filter for this filter function and the given value using the operator 'ge', i.e. >=.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

  • Creates an instance of Filter for this filter function and the given value using the operator 'gt', i.e. >.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

  • Creates an instance of Filter for this filter function and the given value using the operator 'le', i.e. <=.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

  • Creates an instance of Filter for this filter function and the given value using the operator 'lt', i.e. <.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

  • Creates an instance of Filter for this filter function and the given value using the operator 'ne', i.e. !=.

    Returns

    The resulting filter.

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.