Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActorQueryOperationTyped<O>

A base implementation for query operation actors for a specific operation type.

Type parameters

  • O: Operation

Hierarchy

Implements

Index

Constructors

Protected constructor

Properties

Readonly beforeActors

Readonly bus

Readonly name

name: string

Readonly operationName

operationName: 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

run

runObservable

Protected Abstract runOperation

test

Protected Abstract testOperation

Static cachifyMetadata

  • cachifyMetadata<T>(metadata: T): T

Static createExistenceResolver

Static getContextLogger

Static getExpressionContext

Static getSafeBindings

Static getSafeBoolean

Static getSafeQuads

Static validateQueryOutput

Generated using TypeDoc