Options
All
  • Public
  • Public/Protected
  • All
Menu

Class V2FilterProcessor

Converts a Filter into ReSTv2 FIQL parameters.

Hierarchy

  • V2FilterProcessor

Implements

Index

Properties

Static NULL_DATE

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.

Static NULL_VALUE

NULL_VALUE: string = ""

Constant used to represent null values in the V2 API.

Methods

getParameters

Static Private toFIQL

  • toFIQL(clauses: Clause[]): string

Static Private toFIQLComparator

  • toFIQLComparator(comparator: 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="

Static Private toFIQLOperator

  • toFIQLOperator(operator: Operator): ";" | ","

Static Private toFIQLValue

Generated using TypeDoc