A comunica Traverse Quad Pattern RDF Metadata Extract Actor.

Hierarchy (View Summary)

Constructors

Properties

beforeActors: Actor<IActionExtractLinks, IActorTest, IActorExtractLinksOutput>[]

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

bus: Bus<
    Actor<IActionExtractLinks, IActorTest, IActorExtractLinksOutput>,
    IActionExtractLinks,
    IActorTest,
    IActorExtractLinksOutput,
>

The bus this actor subscribes to.

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

  • A helper function to append links based on incoming quads.

    Parameters

    • metadata: Stream

      A metadata stream of quads.

    • onQuad: (quad: Quad, links: ILink[]) => void

      A callback that will be invoked for each quad in the metadata stream. The second argument is the array of links that can be appended to.

    Returns Promise<ILink[]>

  • Get the logger from the given context.

    Parameters

    • context: IActionContext

      An optional context.

    Returns undefined | Logger

    The logger or undefined.