Comunica
    Preparing search index...

    A comunica Reduced Hash Query Operation Actor.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    beforeActors: Actor<
        IActionQueryOperation,
        IActorTest,
        IQueryOperationResult,
        undefined,
    >[] = []

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

    bus: Bus<
        Actor<
            IActionQueryOperation,
            IActorTest,
            IQueryOperationResult,
            undefined,
        >,
        IActionQueryOperation,
        IActorTest,
        IQueryOperationResult,
        undefined,
    >

    The bus this actor subscribes to.

    cacheSize: number
    mediatorHashBindings: MediatorHashBindings
    mediatorQueryOperation: MediatorQueryOperation
    name: string

    The name for this actor.

    {<rdf:subject>}
    
    operationName: string

    Methods

    • Create a new distinct filter function. This will maintain an internal hash datastructure so that every bindings object only returns true once.

      Parameters

      • context: IActionContext

        The action context.

      • variables: Variable[]

        The variables to take into account while hashing.

      Returns Promise<(bindings: Bindings) => boolean>

      A distinct filter for bindings.