This module defines the rkvs_storage_backend
behaviour.
Required callback functions: open/2
, close/1
, destroy/1
, contains/2
, get/2
, put/3
, clear/2
, write_batch/2
, scan/4
, clear_range/4
, fold_keys/4
, fold/4
, is_empty/1
.
fold_options() = [{start_key, binary()} | {end_key, binary()} | {gt, binary()} | {gte, binary()} | {lt, binary()} | {lte, binary()} | {max, integer()}]
kv() = {Key::binary(), Value::binary()}
kvs() = [kv()]
write_ops() = [{put, Key::binary(), Value::any()} | {delete, Key::binary()} | clear]