Skip to main content

ts-transforms / operations/lib/transforms/extraction / default

Class: default

Constructors

new default()

new default(configArgs): default

Parameters

ParameterType
configArgsExtractionConfig | ExtractionConfig[]

Returns

default

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

ParameterType
docDataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>
resultsobject
results.entityDataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>
results.metadataany

Returns

void

Source

operations/lib/transforms/extraction.ts:161


run()

run(doc): null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Parameters

ParameterType
docDataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Returns

null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Source

operations/lib/transforms/extraction.ts:143