ex_rock
v0.1.0
Pages
Modules
Search documentation of ex_rock
Settings
View Source
ExRock
(ex_rock v0.1.0)
ExRock - wrapper for RocksDB.
Summary
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, key_from, key_to)
delete_range_cf(db_ref, cf_name, key_from, key_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_db_path(db_ref)
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()
multi_get(db_ref, keys)
multi_get_cf(db_ref, keys)
next(iter_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, num_backups_to_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(snap_ref, key)
snapshot_get(snap_ref, key, default)
snapshot_get_cf(snap_ref, cf_name, key)
snapshot_get_cf(snap_ref, cf_name, key, default)
snapshot_iterator(snap_ref, mode)
snapshot_iterator_cf(snap_ref, cf_name, mode)
snapshot_multi_get(snap_ref, keys)
snapshot_multi_get_cf(snap_ref, keys)
write_batch(db_ref, ops)
Functions
Link to this function
create_backup(db_ref, path)
View Source
Link to this function
create_cf(db_ref, cf_name, options \\ %{})
View Source
Link to this function
create_checkpoint(db_ref, path)
View Source
Link to this function
delete(db_ref, key)
View Source
Link to this function
delete_cf(db_ref, cf_name, key)
View Source
Link to this function
delete_range(db_ref, key_from, key_to)
View Source
Link to this function
delete_range_cf(db_ref, cf_name, key_from, key_to)
View Source
Link to this function
destroy(path, options \\ %{})
View Source
Link to this function
drop_cf(db_ref, cf_name)
View Source
Link to this function
get(db_ref, key)
View Source
Link to this function
get(db_ref, key, default)
View Source
Link to this function
get_backup_info(backup_path)
View Source
Link to this function
get_cf(db_ref, cf_name, key)
View Source
Link to this function
get_cf(db_ref, cf_name, key, default)
View Source
Link to this function
get_db_path(db_ref)
View Source
Link to this function
iterator(db_ref, mode)
View Source
Link to this function
iterator_cf(db_ref, cf_name, mode)
View Source
Link to this function
iterator_range(db_ref, mode, from, to, read_options \\ %{})
View Source
Link to this function
key_may_exist(db_ref, key)
View Source
Link to this function
key_may_exist_cf(db_ref, cf_name, key)
View Source
Link to this function
latest_sequence_number(db_ref)
View Source
Link to this function
list_cf(path, options \\ %{})
View Source
Link to this function
lxcode()
View Source
Link to this function
multi_get(db_ref, keys)
View Source
Link to this function
multi_get_cf(db_ref, keys)
View Source
Link to this function
next(iter_ref)
View Source
Link to this function
open(path, options \\ %{})
View Source
Link to this function
open_cf(path, cf_names, options \\ %{})
View Source
Link to this function
open_cf_for_read_only(path, cf_names, options \\ %{})
View Source
Link to this function
open_for_read_only(path, options \\ %{})
View Source
Link to this function
prefix_iterator(db_ref, prefix)
View Source
Link to this function
prefix_iterator_cf(db_ref, cf_name, prefix)
View Source
Link to this function
purge_old_backups(backup_path, num_backups_to_keep)
View Source
Link to this function
put(db_ref, key, value)
View Source
Link to this function
put_cf(db_ref, cf_name, key, value)
View Source
Link to this function
repair(path, options \\ %{})
View Source
Link to this function
restore_from_backup(backup_path, restore_path)
View Source
Link to this function
restore_from_backup(backup_path, restore_path, backup_id)
View Source
Link to this function
snapshot(db_ref)
View Source
Link to this function
snapshot_get(snap_ref, key)
View Source
Link to this function
snapshot_get(snap_ref, key, default)
View Source
Link to this function
snapshot_get_cf(snap_ref, cf_name, key)
View Source
Link to this function
snapshot_get_cf(snap_ref, cf_name, key, default)
View Source
Link to this function
snapshot_iterator(snap_ref, mode)
View Source
Link to this function
snapshot_iterator_cf(snap_ref, cf_name, mode)
View Source
Link to this function
snapshot_multi_get(snap_ref, keys)
View Source
Link to this function
snapshot_multi_get_cf(snap_ref, keys)
View Source
Link to this function
write_batch(db_ref, ops)
View Source