Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -module(couch_btree).
- -export([open/2, open/3, query_modify/4, add/2, add_remove/3, foldl/3, foldl/4]).
- -export([foldr/3, foldr/4, fold/4, fold/5, full_reduce/1, final_reduce/2]).
- -export([fold_reduce/6, fold_reduce/7, lookup/2, get_state/1, set_options/2]).
- -record(btree,
- {fd,
- root,
- extract_kv = fun({Key, Value}) -> {Key, Value} end,
- assemble_kv = fun(Key, Value) -> {Key, Value} end,
- less = fun(A, B) -> A < B end,
- reduce = nil
- }).
Add Comment
Please, Sign In to add comment