Class V2FilterProcessor

Converts a [[Filter]] into ReSTv2 FIQL parameters.

Hierarchy

  • V2FilterProcessor

Implements

Constructors

Properties

searchProperties?: SearchProperty[]

The accessor for Properties

NULL_DATE: string = '1970-01-01T00:00:00.000+0000'

Constant used to represent null dates in the V2 API. This must be explicitly set as the restriction value when using either the NULL or NOTNULL comparators on date fields.

NULL_VALUE: string = '\u0000'

Constant used to represent null values in the V2 API.

Methods

  • If the given value is a date value, it is converted to be properly parsed by the OpenNMS ReST API, otherwise it is not modified.

    Parameters

    • value: any

      Any value which may need conversion.

    Returns any

  • Given a comparator, convert it to a correspond comparator that can be used in the FIQL expression.

    Parameters

    Returns "==" | "!=" | "=gt=" | "=lt=" | "=ge=" | "=le="

Generated using TypeDoc