A comunica actor for creating Binding-Aggregator-factories.

Actor types:

  • Input: IActionBindingsAggregatorFactory: A SPARQL expression and a factory for an expression evaluator.
  • Test:
  • Output: IActorBindingsAggregatorFactoryOutput: An aggregator of RDF bindings.
  • IActionBindingsAggregatorFactory
  • IActorBindingsAggregatorFactoryOutput

Type Parameters

  • TS = undefined

Hierarchy (View Summary)

Constructors

Properties

beforeActors: Actor<
    IActionBindingsAggregatorFactory,
    IActorTest,
    IActorBindingsAggregatorFactoryOutput,
    TS,
>[]

Actor that must be registered in the bus before this actor.

bus: Bus<
    Actor<
        IActionBindingsAggregatorFactory,
        IActorTest,
        IActorBindingsAggregatorFactoryOutput,
        TS,
    >,
    IActionBindingsAggregatorFactory,
    IActorTest,
    IActorBindingsAggregatorFactoryOutput,
    TS,
>

The bus this actor subscribes to.

mediatorExpressionEvaluatorFactory: MediatorExpressionEvaluatorFactory
name: string

The name for this actor.

{<rdf:subject>}

Methods

  • Parameters

    • context: IActionContext
    • Optionaldata: () => any

    Returns any

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Parameters

    • context: IActionContext
    • message: string
    • Optionaldata: () => any

    Returns void

  • Check if this actor can run the given action, without actually running it.

    Parameters

    Returns Promise<TestResult<IActorTest, TS>>

    A promise that resolves to the test result.

  • Get the logger from the given context.

    Parameters

    • context: IActionContext

      An optional context.

    Returns undefined | Logger

    The logger or undefined.