(db-*-verify-conf-obj conf-args)
(db-close db)
(db-count db)
(db-cursor-cache-mode db-cursor mode)
(db-cursor-close db-cursor)
(db-cursor-current db-cursor__1674__auto__ & opts-args__1675__auto__)
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
(db-cursor-delete db-cursor)
Deletes the record the cursor currently points to.
Deletes the record the cursor currently points to.
(db-cursor-first db-cursor__1674__auto__ & opts-args__1675__auto__)
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
(db-cursor-last db-cursor__1674__auto__ & opts-args__1675__auto__)
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
Optional keyword arguments: :pkey --- for cursors on secondary databases only, specifies the primary key value :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
(db-cursor-next db-cursor & opts-args)
Optional keyword arguments: :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
Optional keyword arguments: :key --- if specified, reuses the given DatabaseEntry :data --- if specified, reuses the given DatabaseEntry
(db-cursor-open db & conf-args)
(db-cursor-primary? s)
Returns true if the given struct represents a primary database cursor.
Returns true if the given struct represents a primary database cursor.
(db-cursor-put db-cursor key data & opts-args)
(db-cursor-replace db-cursor new-data)
Replaces the data entry of the record the cursor currently points to.
Replaces the data entry of the record the cursor currently points to.
(db-cursor-scan db-cursor indexed-value & opts-args)
(db-cursor-search db-cursor key & opts-args)
Optional keyword arguments: :search-both --- use Database.getSearchBoth functions :pkey --- for cursors on secondary databases only, specifies the primary key value :data --- if specified, positions the cursor by both key and :data values :exact --- if true, match the key and optional :data exactly
Optional keyword arguments: :search-both --- use Database.getSearchBoth functions :pkey --- for cursors on secondary databases only, specifies the primary key value :data --- if specified, positions the cursor by both key and :data values :exact --- if true, match the key and optional :data exactly
(db-cursor-sec? s)
Returns true if the given struct represents a secondary database cursor.
Returns true if the given struct represents a secondary database cursor.
(db-delete db key & opts-args)
(db-env-checkpoint db-env & opts)
(db-env-clean-log db-env)
Cleans database log files and prepares them for disposal at next checkpoint. Normally done by background thread. Returns number of log files cleaned. May be called repeatedly until it returns 0.
Cleans database log files and prepares them for disposal at next checkpoint. Normally done by background thread. Returns number of log files cleaned. May be called repeatedly until it returns 0.
(db-env-close db-env)
(db-env-compress db-env)
Compresses in-memory data structures after deletes. Normally done by background thread.
Compresses in-memory data structures after deletes. Normally done by background thread.
(db-env-evict-memory db-env)
Keeps memory usage within defined cache boundaries. Normally done by background thread.
Keeps memory usage within defined cache boundaries. Normally done by background thread.
(db-env-modify db-env & opts-args)
(db-env-open dir & conf-args)
(db-env-remove-db db-env db-name & opts-args)
(db-env-rename-db db-env old-name new-name & opts-args)
(db-env-stats db-env & conf-args)
(db-env-sync db-env)
(db-env-truncate-db db-env db-name & opts-args)
(db-env-verify db-env & conf-args)
Runs the expensive environment verification routine.
Runs the expensive environment verification routine.
(db-get db key & opts-args)
Optional keyword arguments: :search-both --- uses Database.getSearchBoth with data specified in :data :data --- if specified, can recycle DatabaseEntry; also used for getSearchBoth
Optional keyword arguments: :search-both --- uses Database.getSearchBoth with data specified in :data :data --- if specified, can recycle DatabaseEntry; also used for getSearchBoth
(db-join-cursor-close db-join-cursor)
(db-join-cursor-next db-join-cursor & opts-args)
(db-join-cursor-open db-cursors & conf-args)
(db-open db-env name & conf-args)
(db-primary? s)
Returns true if the given struct represents a primary database.
Returns true if the given struct represents a primary database.
(db-put db key data & opts-args)
Optional keyword arguments: :no-dup-data --- if true, then calls .putNoDupData :no-overwrite --- if true, then calls .putNoOverwrite
Optional keyword arguments: :no-dup-data --- if true, then calls .putNoDupData :no-overwrite --- if true, then calls .putNoOverwrite
(db-sec-close db-sec)
(db-sec-delete db-sec search-key & opts-args)
(db-sec-get db-sec search-key & opts-args)
Optional keyword arguments: :key --- if specified, recycles DatabaseEntry :data --- if specified, recycles DatabaseEntry
Optional keyword arguments: :key --- if specified, recycles DatabaseEntry :data --- if specified, recycles DatabaseEntry
(db-sec-open db-env db-primary name & conf-args)
(db-sec-verify db-sec & conf-args)
Runs the expensive secondary database verification routine.
Runs the expensive secondary database verification routine.
(db-secondary? s)
Returns true if the given struct represents a primary database.
Returns true if the given struct represents a primary database.
(db-sync db)
(db-txn-abort txn)
(db-txn-begin db-env & conf-args)
(db-txn-commit txn & conf-args)
(db-verify db & conf-args)
Runs the expensive database verification routine.
Runs the expensive database verification routine.
(def-db-cursor-simple-position name java-fn)
(def-with-db-macro macro-name open-fn close-fn)
(with-db [var__1444__auto__ & open-args__1445__auto__] & body__1446__auto__)
(with-db-cursor [var__1444__auto__ & open-args__1445__auto__]
&
body__1446__auto__)
(with-db-env [var__1444__auto__ & open-args__1445__auto__] & body__1446__auto__)
(with-db-join-cursor [var__1444__auto__ & open-args__1445__auto__]
&
body__1446__auto__)
(with-db-sec [var__1444__auto__ & open-args__1445__auto__] & body__1446__auto__)
(with-db-txn [var__1444__auto__ & open-args__1445__auto__] & body__1446__auto__)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close