Interface ReadonlyTripleStore<Id, V>

Readonly TripleStore.

interface ReadonlyTripleStore {
    [rangeQueryable]: true;
    entries(options?): MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>;
    entriesByAttr(options?): MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>;
    findMany(keys, options?): MaybeAsyncIterableIterator<MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>>;
    findManyByAttr(keys, options?): MaybeAsyncIterableIterator<MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>>;
    get(key, options?): MaybePromise<undefined | V>;
    getMany(keys, options?): MaybeAsyncIterableIterator<undefined | V>;
    has(key, options?): MaybePromise<boolean>;
    hasMany(keys, options?): MaybeAsyncIterableIterator<boolean>;
    keys(options?): MaybeAsyncIterableIterator<EntityAttrKey<Id>>;
    keysByAttr(options?): MaybeAsyncIterableIterator<EntityAttrKey<Id>>;
    values(options?): MaybeAsyncIterableIterator<V>;
    valuesByAttr(options?): MaybeAsyncIterableIterator<V>;
}

Type Parameters

  • Id

  • V

Hierarchy

Properties

[rangeQueryable]: true

Marker to indicate that this object is a RangeQueryable.

Methods

Generated using TypeDoc