ExRocket (ex_rocket v0.4.1)

View Source

ExRocket — an Elixir NIF wrapper around RocksDB, powered by the maintained rust-rocksdb crate.

Summary

Functions

Functions

create_backup(db_ref, path)

create_cf(db_ref, cf_name, options \\ %{})

create_checkpoint(db_ref, path)

delete(db_ref, key)

delete_cf(db_ref, cf_name, key)

delete_range(db_ref, from, to)

delete_range_cf(db_ref, cf_name, from, to)

destroy(path, options \\ %{})

drop_cf(db_ref, cf_name)

get(db_ref, key)

get(db_ref, key, default)

get_backup_info(backup_path)

get_cf(db_ref, cf_name, key)

get_cf(db_ref, cf_name, key, default)

get_cfb(db_ref, cf_name, key)

get_db_path(db_ref)

getb(db_ref, key)

iterator(db_ref, mode)

iterator_cf(db_ref, cf_name, mode)

iterator_range(db_ref, mode, from, to, read_options \\ %{})

key_may_exist(db_ref, key)

key_may_exist_cf(db_ref, cf_name, key)

latest_sequence_number(db_ref)

list_cf(path, options \\ %{})

lxcode()

merge(db_ref, key, operand)

merge_cf(db_ref, cf_name, key, operand)

merge_cfb(db_ref, cf_name, key, operand)

mergeb(db_ref, key, operand)

multi_get(db_ref, keys)

multi_get_cf(db_ref, keys)

next(iterator_ref)

open(path, options \\ %{})

open_cf(path, cf_names, options \\ %{})

open_cf_for_read_only(path, cf_names, options \\ %{})

open_for_read_only(path, options \\ %{})

prefix_iterator(db_ref, prefix)

prefix_iterator_cf(db_ref, cf_name, prefix)

purge_old_backups(backup_path, keep)

put(db_ref, key, value)

put_cf(db_ref, cf_name, key, value)

repair(path, options \\ %{})

restore_from_backup(backup_path, restore_path)

restore_from_backup(backup_path, restore_path, backup_id)

snapshot(db_ref)

snapshot_get(snapshot_ref, key)

snapshot_get(snapshot_ref, key, default)

snapshot_get_cf(snapshot_ref, cf_name, key)

snapshot_get_cf(snapshot_ref, cf_name, key, default)

snapshot_iterator(snapshot_ref, mode)

snapshot_iterator_cf(snapshot_ref, cf_name, mode)

snapshot_multi_get(snapshot_ref, keys)

snapshot_multi_get_cf(snapshot_ref, keys)

write_batch(db_ref, operations)