Interface: FilterOperator

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

interface FilterOperator<D>

QuickNav

Fields


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

FilterOperator

Version:
  • 7.1.0
Since:
  • 5.0.0
Module:
  • ojdataprovider

Module usage

See JET Module Loading for an overview of module usage within JET.

Typescript Import Format
//To use this interface, import as below.
import {FilterOperator} from "ojs/ojdataprovider";
Generic Parameters
ParameterDescription
DType of Data

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

The interface for oj.FilterOperator
Deprecated:
Since Description
7.0.0 Use AttributeFilter or CompoundFilter instead.

Fields

op :oj.AttributeFilterOperator.AttributeOperator|oj.CompoundFilterOperator.CompoundOperator

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

The operator, either an oj.AttributeFilterOperator.AttributeOperator or oj.CompoundFilterOperator.CompoundOperator.
Since:
  • 5.0.0

Methods

filter(data) → {Array}

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Optional function which is used to locally filter the data.
Parameters:
Name Type Description
data Array The data to filter
Since:
  • 5.0.0
Returns:
filtered data
Type
Array