Comunica Link Traversal
    Preparing search index...

    A comunica Extract Links Tree Extract Links Actor.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

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

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

    The bus this actor subscribes to.

    name: string

    The name for this actor.

    {<rdf:subject>}
    
    aNodeType: NamedNode<"https://w3id.org/tree#node"> = ...
    aRelation: NamedNode<"https://w3id.org/tree#relation"> = ...
    aSubset: NamedNode<"http://rdfs.org/ns/void#subset"> = ...
    aView: NamedNode<"https://w3id.org/tree#view"> = ...
    isPartOf: NamedNode<"http://purl.org/dc/terms/isPartOf"> = ...

    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 Logger | undefined

      The logger or undefined.