@terascope/data-mate / jexl
jexl
Variables
extractConfig
const
extractConfig:RepoConfig
Source
data-mate/src/jexl/index.ts:68
jexl
const
jexl:Jexl
Source
data-mate/src/jexl/index.ts:34
transformRecordConfig
const
transformRecordConfig:RepoConfig
Source
data-mate/src/jexl/index.ts:173
Functions
extract()
extract(
input
,parentContext
,__namedParameters
):RecordInput
|null
Parameters
Parameter | Type |
---|---|
input | any |
parentContext | Record <string , any > |
__namedParameters | ExtractFieldConfig |
Returns
RecordInput
| null
Source
data-mate/src/jexl/index.ts:81
transformRecord()
transformRecord(
input
,parentContext
,args
):RecordInput
|null
Parameters
Parameter | Type |
---|---|
input | RecordInput |
parentContext | RecordInput |
args | object |
args.field | string |
args.jexlExp | string |
Returns
RecordInput
| null