-ifndef(BACKEND_HRL).
-define(BACKEND_HRL, true).
-define(BACKEND, [get/2,put/1,delete/2,index/3,dump/0,start/0,stop/0,destroy/0,
                  join/1,dir/0,create_table/2,add_table_index/2,seq/2,all/1,count/1,version/0]).
-compile({no_auto_import,[get/1,put/2]}).
-spec put(tuple() | list(tuple())) -> ok | {error,any()}.
-spec get(term() | any(), any()) -> {ok,any()} | {error,not_found}.
-spec delete(term(), any()) -> ok | {error,not_found}.
-spec dump() -> ok.
-spec start() -> ok.
-spec stop() -> ok.
-spec index(term(), any(), any()) -> list(tuple()).
-endif.