Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ldkit/rdf.ts>ReadOnlyBindings

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
class ReadOnlyBindings
implements [RDF.Bindings]
import { ReadOnlyBindings } from "https://deno.land/x/ldkit@1.1.0/rdf.ts";

Constructors

new
ReadOnlyBindings(bindings: Map<RDF.Variable, RDF.Term>, dataFactory?: RDF.DataFactory)

Properties

protected
readonly
dataFactory: RDF.DataFactory
protected
readonly
entries: Map<RDF.Variable, RDF.Term>
protected
readonly
variables: Map<string, RDF.Variable>
readonly
size
readonly
type: string

Methods

delete(_key: string | RDF.Variable): RDF.Bindings
equals(_other: RDF.Bindings | null | undefined): boolean
filter(_fn: (value: RDF.Term, key: RDF.Variable) => boolean): RDF.Bindings
forEach(fn: (value: RDF.Term, key: RDF.Variable) => unknown)
get(key: string | RDF.Variable)
has(key: string | RDF.Variable)
map(_fn: (value: RDF.Term, key: RDF.Variable) => RDF.Term): RDF.Bindings
merge(_other: RDF.Bindings): RDF.Bindings | undefined
mergeWith(_merger: (
self: RDF.Term,
other: RDF.Term,
key: RDF.Variable,
) => RDF.Term
, _other: RDF.Bindings
): RDF.Bindings
set(_key: string | RDF.Variable, _value: RDF.Term): RDF.Bindings