Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecutionContext

An execution context conatains control information for query execution.

Hierarchy

  • ExecutionContext

Index

Constructors

constructor

Properties

Protected _cache

_cache: BGPCache | null

Protected _defaultGraphs

_defaultGraphs: string[]

Protected _hints

_hints: QueryHints

Protected _namedGraphs

_namedGraphs: string[]

Protected _properties

_properties: Map<Symbol, any>

Accessors

cache

  • Get the BGP cache currently used by the query engine. returns null if caching is disabled

    Returns BGPCache | null

    The BGP cache currently used by the query engine, or null if caching is disabled.

  • Set the BGP cache currently used by the query engine. Use null to disable caching

    Parameters

    • newCache: BGPCache | null

      The BGP cache to use for caching.

    Returns void

    The BGP cache currently used by the query engine, or null if caching is disabled.

defaultGraphs

  • get defaultGraphs(): string[]
  • set defaultGraphs(values: string[]): void

hints

namedGraphs

  • get namedGraphs(): string[]
  • set namedGraphs(values: string[]): void

Methods

cachingEnabled

  • cachingEnabled(): boolean

clone

getProperty

  • getProperty(key: Symbol): any | null

hasProperty

  • hasProperty(key: Symbol): boolean
  • Test if the context contains a property associated with a key

    Parameters

    • key: Symbol

      Key associated with the property

    Returns boolean

    True if the context contains a property associated with the key

merge

setProperty

  • setProperty(key: Symbol, value: any): void

Generated using TypeDoc