Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlanBuilder

A PlanBuilder builds a physical query execution plan of a SPARQL query, i.e., an iterator that can be consumed to get query results. Internally, it implements a Builder design pattern, where various StageBuilder are used for building each part of the query execution plan.

author

Thomas Minier

author

Corentin Marionneau

Hierarchy

  • PlanBuilder

Index

Constructors

constructor

Properties

Private _currentCache

_currentCache: BGPCache | null

Private Optional _customFunctions

_customFunctions: CustomFunctions

Private _dataset

_dataset: Dataset

RDF Dataset used for query execution

Private _optimizer

_optimizer: Optimizer

Private _parser

_parser: Parser

Private _stageBuilders

_stageBuilders: Map<SPARQL_OPERATION, StageBuilder>

Accessors

optimizer

Methods

_buildGroup

_buildQueryPlan

_buildValues

_buildWhere

build

disableCache

  • disableCache(): void

use

useCache

  • useCache(customCache?: BGPCache): void
  • Enable Basic Graph Patterns semantic caching for SPARQL query evaluation. The parameter is optional and used to provide your own cache instance. If left undefined, the query engine will use a LRUBGPCache with a maximum of 500 items and a max age of 20 minutes.

    Parameters

    • Optional customCache: BGPCache

      (optional) Custom cache instance

    Returns void

Generated using TypeDoc