Options
All
  • Public
  • Public/Protected
  • All
Menu

Converts a Filter into ReSTv2 FIQL parameters.

Hierarchy

  • V2FilterProcessor

Implements

Index

Constructors

Properties

searchProperties?: API.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

  • applyDateConversion(value: any): any
  • 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

  • toFIQLComparator(comparator: API.Comparator): "==" | "!=" | "=gt=" | "=lt=" | "=ge=" | "=le="
  • 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