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

functionName: string

Methods

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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

    Parameters

    • value: number

      Value to be used in the filter.

    Returns Filter<EntityT, any, number>

    The resulting filter.

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