Interface: DataMapping

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

interface DataMapping <K, D, Kin, Din>

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.

DataMapping

Version:
  • 7.1.0
Since:
  • 4.1.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 {DataMapping} from "ojs/ojdataprovider";
Generic Parameters
ParameterDescription
KType of output key
DType of output data
KinType of input key
DinType of input 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.

Fields

mapFields :(item: Item<Kin, Din>) => Item<K, D>

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

Field mapping function which takes an item and returns the mapped item

(nullable) mapFilterCriterion :(filterCriterion: AttributeFilter<D> | CompoundFilter<D>) => AttributeFilter<Din> | CompoundFilter<Din>

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

Optional FilterCriterion mapping function which takes filterOperator and returns the mapped filterOperator

(nullable) mapSortCriteria :(sortCriteria: Array<SortCriterion<D>>) => Array<SortCriterion<Din>>

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

Optional SortCriterion mapping function which takes sortCriteria and returns the mapped sortCriteria

(nullable) unmapSortCriteria :(sortCriteria: Array<SortCriterion<Din>>) => Array<SortCriterion<D>>

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

Optional SortCriterion unmapping function which takes mapped sortCriteria and returns the unmapped sortCriteria