A comunica actor for query-operation events.

Actor types:

  • Input: IActionQueryOperation: A SPARQL Algebra operation.
  • Test:
  • Output: IActorQueryOperationOutput: A bindings stream.

See

  • IActionQueryOperation
  • IQueryOperationResult

Hierarchy (view full)

Constructors

Properties

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

The bus this actor subscribes to.

name: string

The name for this actor.

Default

{<rdf:subject>}

Methods

  • Deinitialize this actor. This should be used for cleaning up things when the application is shut down, such as closing files and removing temporary files.

    Returns Promise<any>

    A promise that resolves when the actor has been deinitialized.

  • Initialize this actor. This should be used for doing things that take a while, such as opening files.

    Returns Promise<any>

    A promise that resolves when the actor has been initialized.

  • Create an existence resolver for usage within an expression context.

    Parameters

    Returns ((expr, bindings) => Promise<boolean>)

      • (expr, bindings): Promise<boolean>
      • Parameters

        • expr: ExistenceExpression
        • bindings: Bindings

        Returns Promise<boolean>

  • Check if the given shape accepts the given query operation.

    Parameters

    • shape: FragmentSelectorShape

      A shape to test the query operation against.

    • operation: Operation

      A query operation to test.

    • Optional options: {
          filterBindings?: boolean;
          joinBindings?: boolean;
      }

      Additional options to consider.

      • Optional filterBindings?: boolean

        If additional bindings will be pushed down to the source for filtering.

      • Optional joinBindings?: boolean

        If additional bindings will be pushed down to the source for joining.

    Returns boolean

Generated using TypeDoc