Container
Implements
ContainerData<TOKEN>

Description

Immutable class that contains the hidden data of the query statement.

Every statement of the builder uses a different instance of the container to make the query builder independent of the step and be able to reuse it in a immutable-like pattern.

Constructor

Container<TOKEN>( data: ContainerData<TOKEN> )

Constructor that receives an object with the base data of the container.

Parameters

NameTypeDescription
ContainerData<TOKEN>

The base data for the container creation.

Properties

iriResolver: IRIResolver

The IRI resolver used to resolve and create IRIs and Prefixed Names

targetToken: TOKEN

The target token where the state of the current query step is actually stored.

Methods

getBuilder(): PatternBuilder