diff options
Diffstat (limited to 'src/dynomite_couch_storage.erl')
-rw-r--r-- | src/dynomite_couch_storage.erl | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/dynomite_couch_storage.erl b/src/dynomite_couch_storage.erl new file mode 100644 index 00000000..4fd21b80 --- /dev/null +++ b/src/dynomite_couch_storage.erl @@ -0,0 +1,41 @@ +%%%------------------------------------------------------------------- +%%% File: dynomite_couch_storage.erl +%%% @author Brad Anderson +%%% @copyright 2009 Brad Anderson +%%% @doc +%%% +%%% @end +%%% +%%% @since 2009-07-14 +%%%------------------------------------------------------------------- +-module(dynomite_couch_storage). +-author('brad@cloudant.com'). + +%% API +-export([name/1, open/2, close/1, create/2]). +%% , close/1, get/2, put/4, has_key/2, delete/2, fold/3 + +-include_lib("../include/common.hrl"). + +%% -record(row, {key, context, values}). + +%%==================================================================== +%% API +%%==================================================================== + +name(Boundary) -> + showroom_utils:int_to_hexstr(Boundary). + +open(Directory, Name) -> +%% ?debugFmt("~nDirectory: ~p~nName : ~p~n", [Directory,Name]), + {ok, {Directory, Name}}. + +close(_Table) -> ok. + +create(_Directory, _Name) -> + ok. + + +%%==================================================================== +%% Internal functions +%%==================================================================== |