Liking cljdoc? Tell your friends :D

hive-datahike.kg.store

Datahike implementation of hive-spi.kg.protocol/IKGStore + IPersistentKGStore

  • ITemporalKGStore. Config (db-path/backend/store-id/writer) and the core-norms classpath resource are injected by the host — the store resolves no env/config of its own and carries no hive-mcp dependency.
Datahike implementation of hive-spi.kg.protocol/IKGStore + IPersistentKGStore
+ ITemporalKGStore. Config (db-path/backend/store-id/writer) and the core-norms
classpath resource are injected by the host — the store resolves no env/config
of its own and carries no hive-mcp dependency.
raw docstring

*read-timeout-ms*clj

Upper bound for a Datahike read deref. Dynamic so slow cold-cache workloads can binding a longer ceiling per call site.

Upper bound for a Datahike read deref. Dynamic so slow cold-cache workloads
can `binding` a longer ceiling per call site.
sourceraw docstring

*write-timeout-ms*clj

Upper bound for a single Datahike transact! deref. Dynamic so large-batch writers can binding a longer ceiling per call site.

Upper bound for a single Datahike transact! deref. Dynamic so large-batch
writers can `binding` a longer ceiling per call site.
sourceraw docstring

as-of-dbclj

(as-of-db store tx-or-time)

Database as of a specific transaction or timestamp.

Database as of a specific transaction or timestamp.
sourceraw docstring

create-storeclj

(create-store & [opts])

Create a Datahike-backed IKGStore. See make-config for config opts; :core-norms-resource is a classpath path the host injects for the base KG norms (nil skips core norms). Returns nil on failure (rescue-wrapped).

Create a Datahike-backed IKGStore. See `make-config` for config opts;
`:core-norms-resource` is a classpath path the host injects for the base KG
norms (nil skips core norms). Returns nil on failure (rescue-wrapped).
sourceraw docstring

healthclj

(health store)

Report whether the loaded runtime can open the store and its version provenance.

Report whether the loaded runtime can open the store and its version provenance.
sourceraw docstring

history-dbclj

(history-db store)

Full history database for temporal queries.

Full history database for temporal queries.
sourceraw docstring

query-as-ofclj

(query-as-of store tx-or-time q & inputs)

Query the database as it was at a specific point in time.

Query the database as it was at a specific point in time.
sourceraw docstring

query-historyclj

(query-history store q & inputs)

Query against the full history database.

Query against the full history database.
sourceraw docstring

register-norms!clj

(register-norms! resource-path)

Register a classpath resource path for addon Datahike norms, applied idempotently on ensure-conn!. Call during addon init, before first store access.

Register a classpath resource path for addon Datahike norms, applied
idempotently on ensure-conn!. Call during addon init, before first store access.
sourceraw docstring

runtime-version-provenanceclj

(runtime-version-provenance)

Versions loaded by the runtime for Datahike's connect-time checks.

Versions loaded by the runtime for Datahike's connect-time checks.
sourceraw docstring

since-dbclj

(since-db store tx-or-time)

Database with only facts added since a transaction or timestamp.

Database with only facts added since a transaction or timestamp.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close