Interface: DataMapping

Oracle® JavaScript Extension Toolkit (JET)
10.1.0

F37996-01

Since:
  • 4.1.0
Module:
  • ojdataprovider

QuickNav

Fields

Usage

Signature:

interface DataMapping <K, D, Kin, Din>

Generic Parameters
ParameterDescription
KType of output key
DType of output data
KinType of input key
DinType of input data
Typescript Import Format
//To use this interface, import as below.
import {DataMapping} from "ojs/ojdataprovider";

For additional information visit:


Fields

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

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

(nullable) mapFilterCriterion :(filterCriterion: DataFilter.Filter<D>) => DataFilter.Filter<Din>

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

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

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

(nullable) unmapFilterCriterion :(filterCriterion: DataFilter.Filter<Din>) => DataFilter.Filter<D>

Optional FilterCriterion unmapping function which takes a mapped filterOperator and returns the unmapped filterOperator

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

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