ts-transforms / operations/lib/transforms/extraction / default
Class: default
Constructors
new default()
new default(
configArgs
):default
Parameters
Parameter | Type |
---|---|
configArgs | ExtractionConfig | ExtractionConfig [] |
Returns
Source
operations/lib/transforms/extraction.ts:122
Properties
cardinality
static
cardinality:InputOutputCardinality
='one-to-one'
Source
operations/lib/transforms/extraction.ts:120
Methods
extractionPhaseRun()
extractionPhaseRun(
doc
,results
):void
Parameters
Parameter | Type |
---|---|
doc | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
results | object |
results.entity | DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>> |
results.metadata | any |
Returns
void
Source
operations/lib/transforms/extraction.ts:161
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
>>>