Module @comunica/mediator-combine-union - v4.0.2

Comunica Mediator Combine Union

npm version

A comunica mediator that takes the union of all actor results.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

$ yarn add @comunica/mediator-combine-union

After installing, this mediator can be instantiated as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union/^4.0.0/components/context.jsonld"
  ],
  "actors": [
    ...
    {
      "@type": "SomeActor",
      "someMediator": {
        "@id": "#mediatorRdfParseMediatypes",
        "@type": "MediatorCombineUnion",
        "bus": { "@id": "ActorRdfParse:_default_bus" },
        "field": "mediaTypes"
      }
    }
  ]
}
  • bus: Identifier of the bus to mediate over.
  • field: The field name to mediate over.
  • filterErrors: Optional flag to indicate if actors that throw test errors should be filtered out of the pipeline, defaults to false.

Classes

MediatorCombineUnion

Interfaces

IMediatorCombineUnionArgs