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