References
| close/1 | Close a leveldb data store and flush any pending writes to disk. |
| count/1 | Count the number of records from eleveldb. |
| delete/2 | Delete an object from the eleveldb. |
| first/1 | Retrieve a first record from eleveldb. |
| first_n/3 | Fetch first N records from eleveldb. |
| get/2 | Retrieve an object from the eleveldb. |
| open/1 | Open a new or existing leveldb datastore for read-only access. |
| open/2 | |
| prefix_search/4 | Retrieve objects from eleveldb by a keyword. |
| put/3 | Insert an object into the eleveldb. |
| status_compaction/1 | Retrieve the compaction status. |
Close a leveldb data store and flush any pending writes to disk
Count the number of records from eleveldb.
Delete an object from the eleveldb.
Retrieve a first record from eleveldb.
first_n(Handler, N, Condition) -> {ok, [term()]} | not_found | {error, any()}
Handler = eleveldb:db_ref()N = pos_integer()Condition = function()
Fetch first N records from eleveldb.
get(Handler, Key) -> {ok, binary()} | not_found | {error, any()}
Handler = eleveldb:db_ref()Key = binary()
Retrieve an object from the eleveldb.
open(Path) -> {error, any()} | {ok, pid()}
Path = string()
Open a new or existing leveldb datastore for read-only access
open(Path, Config) -> {error, any()} | {ok, pid()}
Path = string()Config = [tuple()]
prefix_search(Handler, Key, Fun, MaxKeys) -> {ok, [term()]} | not_found | {error, any()}
Handler = eleveldb:db_ref()Key = binary()Fun = function()MaxKeys = integer()
Retrieve objects from eleveldb by a keyword.
put(Handler, Key, Value) -> ok | {error, any()}
Handler = eleveldb:db_ref()Key = binary()Value = binary()
Insert an object into the eleveldb.
Retrieve the compaction status
Generated by EDoc