Copyright © 2009-2014 Michael Truog
Version: 1.4.0 Dec 20 2014 15:51:09 ------------------------------------------------------------------------
Behaviours: cloudi_service.
Authors: Michael Truog (mjtruog [at] gmail (dot) com).
dispatcher() = cloudi_service:dispatcher() | cloudi:context()
cloudi_service_handle_info(Request, State, Dispatcher) -> any()
cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()
cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()
cloudi_service_terminate(Reason, Timeout, State) -> any()
create_attachment(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), File::string(), ContentType::string()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_attachment(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), File::string(), ContentType::string(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_database(Dispatcher::dispatcher(), Name::string()) -> {ok, any()} | {error, any()}
create_database(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> {ok, any()} | {error, any()}
create_document(Dispatcher::dispatcher(), Name::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_document(Dispatcher::dispatcher(), Name::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_document_id(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_document_id(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_documents(Dispatcher::dispatcher(), Name::string(), Documents::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_documents(Dispatcher::dispatcher(), Name::string(), Documents::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_view(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string(), Data::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_view(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string(), Data::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_view_type(Dispatcher::dispatcher(), Name::string(), DocName::string(), Type::string(), ViewName::string(), Data::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_view_type(Dispatcher::dispatcher(), Name::string(), DocName::string(), Type::string(), ViewName::string(), Data::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_views(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewList::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
create_views(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewList::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
database_info(Dispatcher::dispatcher(), Name::string()) -> {ok, any()} | {error, any()}
database_info(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> {ok, any()} | {error, any()}
delete_database(Dispatcher::dispatcher(), Name::string()) -> {ok, any()} | {error, any()}
delete_database(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> {ok, any()} | {error, any()}
delete_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string()) -> {ok, {json, {struct, list()}}} | {error, any()}
delete_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
delete_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string()) -> {ok, {json, {struct, list()}}} | {error, any()}
delete_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
delete_documents(Dispatcher::dispatcher(), Name::string(), Documents::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
delete_documents(Dispatcher::dispatcher(), Name::string(), Documents::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
document_revision(Dispatcher::dispatcher(), Name::string(), DocumentID::string()) -> {ok, {any(), any()}} | {error, any()}
document_revision(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Timeout::pos_integer()) -> {ok, {any(), any()}} | {error, any()}
invoke_view(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string()) -> {ok, {json, {struct, list()}}} | {error, any()}
invoke_view(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
invoke_view_keys(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string(), Keys::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
invoke_view_keys(Dispatcher::dispatcher(), Name::string(), DocName::string(), ViewName::string(), Keys::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
replace_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
replace_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
replace_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
replace_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
retrieve_all_dbs(Dispatcher::dispatcher(), Name::string()) -> {ok, any()} | {error, any()}
retrieve_all_dbs(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> {ok, any()} | {error, any()}
retrieve_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string()) -> {ok, {json, {struct, list()}}} | {error, any()}
retrieve_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
server_info(Dispatcher::dispatcher(), Name::string()) -> {ok, any()} | {error, any()}
server_info(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> {ok, any()} | {error, any()}
update_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
update_document(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
update_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string(), Doc::list()) -> {ok, {json, {struct, list()}}} | {error, any()}
update_document_rev(Dispatcher::dispatcher(), Name::string(), DocumentID::string(), Rev::string(), Doc::list(), Timeout::pos_integer()) -> {ok, {json, {struct, list()}}} | {error, any()}
Generated by EDoc, Dec 20 2014, 15:51:09.