Incremunica
    Preparing search index...

    A comunica Assign Sources Exhaustive Optimize Query Operation Actor.

    Hierarchy

    • ActorOptimizeQueryOperation
      • ActorOptimizeQueryOperationAssignSourcesExhaustive
    Index

    Constructors

    Properties

    beforeActors: Actor<
        IActionOptimizeQueryOperation,
        IActorTest,
        IActorOptimizeQueryOperationOutput,
        undefined,
    >[]

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

    bus: Bus<
        Actor<
            IActionOptimizeQueryOperation,
            IActorTest,
            IActorOptimizeQueryOperationOutput,
            undefined,
        >,
        IActionOptimizeQueryOperation,
        IActorTest,
        IActorOptimizeQueryOperationOutput,
        undefined,
    >

    The bus this actor subscribes to.

    name: string

    The name for this actor.

    {<rdf:subject>}
    

    Methods

    • Assign the given sources to the leaves in the given query operation. Leaves will be wrapped in a union operation and duplicated for every source. The input operation will not be modified.

      Parameters

      • algebraFactory: Factory

        The algebra factory.

      • operation: Operation

        The input operation.

      • sources: IQuerySourceWrapper<IQuerySource>[]

        The sources to assign.

      • shapes: FragmentSelectorShape[]

      Returns Operation

    • 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

    • Run the given action on this actor AND invokes the Bus#onRun method.

      Parameters

      • action: IActionOptimizeQueryOperation

        The action to run.

      • sideData: undefined

      Returns Promise<IActorOptimizeQueryOperationOutput>

      A promise that resolves to the run result.

    • Get the logger from the given context.

      Parameters

      • context: IActionContext

        An optional context.

      Returns undefined | Logger

      The logger or undefined.