Guest User

Untitled

a guest
Mar 8th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. -module(couch_btree).
  2.  
  3. -export([open/2, open/3, query_modify/4, add/2, add_remove/3, foldl/3, foldl/4]).
  4. -export([foldr/3, foldr/4, fold/4, fold/5, full_reduce/1, final_reduce/2]).
  5. -export([fold_reduce/6, fold_reduce/7, lookup/2, get_state/1, set_options/2]).
  6.  
  7. -record(btree,
  8. {fd,
  9. root,
  10. extract_kv = fun({Key, Value}) -> {Key, Value} end,
  11. assemble_kv = fun(Key, Value) -> {Key, Value} end,
  12. less = fun(A, B) -> A < B end,
  13. reduce = nil
  14. }).
Add Comment
Please, Sign In to add comment