NCEntityMapper

A pipeline component that allows to map one set of entities into another after the entities were parsed and enriched. Entity mapper is an optional component and the pipeline can have zero or more entity mappers. Mappers are typically used for combining several existing entities into a new one without necessarily touching the entity parser or enrichers. See NCPipeline for documentation on the overall processing pipeline.

See also:
Source:
NCEntityMapper.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

Maps given of entities into a new list of entities. Used typically to combine several entities into one or to introduce a synthetic entity.

Maps given of entities into a new list of entities. Used typically to combine several entities into one or to introduce a synthetic entity.

Value parameters:
cfg

Configuration of the model this component is associated with.

ents

List of entities to map.

req

Input request descriptor.

Returns:

List of entities (new or existing ones).

Source:
NCEntityMapper.scala

Inherited methods

Called when the component starts. Default implementation is no-op.

Called when the component starts. Default implementation is no-op.

Value parameters:
cfg

Configuration of the model this component is associated with.

Inherited from:
NCLifecycle
Source:
NCLifecycle.scala

Called when the component stops. Default implementation is no-op.

Called when the component stops. Default implementation is no-op.

Value parameters:
cfg

Configuration of the model this component is associated with.

Inherited from:
NCLifecycle
Source:
NCLifecycle.scala