Liking cljdoc? Tell your friends :D

exoscale.vinyl.store

A component and helper functions to expose access to a specific schema accessible by FDB's record layer.

This is agnostic to the schema which will need to be supplied to the component using the rough DDL exposed in exoscale.vinyl.schema

A component and helper functions to expose access
to a specific schema accessible by FDB's record layer.

This is agnostic to the schema which will need to
be supplied to the component using the rough DDL
exposed in `exoscale.vinyl.schema`
raw docstring

all-of-rangeclj

(all-of-range txn-context record-type items)
source

as-queryclj

(as-query q)
source

async-store-from-builderclj

(async-store-from-builder builder context)
source

betweenclj

(between txn-context record-type items start end)
source

DatabaseContextcljprotocol

get-metadataclj

(get-metadata this)

Return this context's record metadata

Return this context's record metadata

run-asyncclj

(run-async this f)

Run an asynchronous function against an FDBRecordStore. Protocolized so it can be called against the database or the store

Run an asynchronous function against an FDBRecordStore.
Protocolized so it can be called against the database or
the store

run-in-contextclj

(run-in-context this f)

Run a function against an FDBRecordStore. Protocolized so it can be called against the database or the store

Run a function against an FDBRecordStore.
Protocolized so it can be called against the database or
the store
source

db-from-instanceclj

(db-from-instance)
(db-from-instance cluster-file)

Build a valid FDB database from configuration. Use the standard cluster-file location or a specific one if instructed to do so.

Build a valid FDB database from configuration. Use the standard
cluster-file location or a specific one if instructed to do so.
sourceraw docstring

delete-all-recordsclj

(delete-all-records txn-context)
source

delete-by-key-componentclj

(delete-by-key-component txn-context record-type items)

In cases where composite keys are used, this can be used to clear all records for a specific composite key prefix

In cases where composite keys are used, this can be used to clear
all records for a specific composite key prefix
sourceraw docstring

delete-by-prefix-scanclj

(delete-by-prefix-scan txn-context record-type items)

Delete all records surfaced by a prefix scan

Delete all records surfaced by a prefix scan
sourceraw docstring

delete-by-queryclj

(delete-by-query txn-context query)

Delete all records surfaced by a query

Delete all records surfaced by a query
sourceraw docstring

delete-by-rangeclj

(delete-by-range txn-context range)
source

delete-recordclj

(delete-record txn-context k)
(delete-record txn-context record-type items)
source

execute-queryclj

(execute-query txn-context query)
(execute-query txn-context query opts)
(execute-query txn-context query opts values)
source

exists?clj

(exists? txn-context k)
(exists? txn-context record-type items)
source

greater-than-rangeclj

(greater-than-range txn-context record-type items)
source

initializeclj

(initialize schema-name descriptor schema)
(initialize schema-name descriptor schema opts)
source

insert-recordclj

(insert-record txn-context record)
source

iterator-queryclj

(iterator-query txn-context query)
(iterator-query txn-context query opts)
source

key-forclj

(key-for db record-type & args)
source

key-for*clj

(key-for* db record-type items)
source

list-queryclj

(list-query txn-context query)
(list-query txn-context query opts)
(list-query txn-context query opts values)
source

load-recordclj

(load-record txn-context k)
(load-record txn-context record-type items)
source

prefix-rangeclj

(prefix-range txn-context record-type items)
source

record-primary-keyclj

(record-primary-key r)
source

record-store-builderclj

(record-store-builder)

Yield a new record store builder

Yield a new record store builder
sourceraw docstring

RecordStoreclj

source

save-recordclj

(save-record txn-context record)
source

save-record-batchclj

(save-record-batch txn-context batch)
source

scan-prefixclj

(scan-prefix txn-context record-type items opts)
source

scan-rangeclj

(scan-range txn-context range opts)
source

startclj

source

stopclj

source

store-from-builderclj

(store-from-builder builder context)
source

store-query-fnclj

(store-query-fn query
                {:exoscale.vinyl.store/keys [values intercept-plan-fn log-plan?]
                 :as opts})
source

top-level-keyspaceclj

This builds a directory structure of /$environment/$schema

This builds a directory structure of /$environment/$schema
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close