Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActorQueryOperation

A comunica actor for query-operation events.

Actor types:

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

IActionQueryOperation

see

IActorQueryOperationOutput

Hierarchy

Implements

Index

Constructors

Protected constructor

Properties

Readonly beforeActors

Readonly bus

Readonly name

name: string

Methods

deinitialize

  • deinitialize(): Promise<any>
  • 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.

Protected getDefaultLogData

  • getDefaultLogData(context: ActionContext | undefined, data?: undefined | (() => any)): any

initialize

  • initialize(): Promise<any>
  • 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.

Protected logDebug

  • logDebug(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Protected logError

  • logError(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Protected logFatal

  • logFatal(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Protected logInfo

  • logInfo(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Protected logTrace

  • logTrace(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Protected logWarn

  • logWarn(context: ActionContext | undefined, message: string, data?: undefined | (() => any)): void

Abstract run

runObservable

Abstract test

Static cachifyMetadata

  • cachifyMetadata<T>(metadata: T): T
  • Convert a metadata callback to a lazy callback where the response value is cached.

    Type parameters

    • T: (() => Promise<Record<string, any>>) | (undefined | (() => Promise<Record<string, any>>))

    Parameters

    • metadata: T

    Returns T

    } The callback where the response will be cached.

Static createExistenceResolver

Static getContextLogger

Static getExpressionContext

Static getSafeBindings

Static getSafeBoolean

Static getSafeQuads

Static validateQueryOutput

Generated using TypeDoc