ts-transforms / operations/lib/transforms/selector / default
Class: default
Constructors
new default()
new default(
config
,matcherConfig
):default
Parameters
Parameter | Type |
---|---|
config | SelectorConfig |
matcherConfig | MatcherConfig |
Returns
Source
operations/lib/transforms/selector.ts:12
Properties
selector
selector:
string
Source
operations/lib/transforms/selector.ts:7
cardinality
static
cardinality:InputOutputCardinality
='one-to-one'
Source
operations/lib/transforms/selector.ts:10
Methods
addMetaData()
addMetaData(
doc
,selector
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
selector | string |
Returns
void
Source
operations/lib/transforms/selector.ts:22
run()
run(
doc
):null
|DataEntity
<Record
<string
,any
>,_DataEntityMetadata
<Record
<string
,any
>>>
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
Returns
null
| DataEntity
<Record
<string
, any
>, _DataEntityMetadata
<Record
<string
, any
>>>