Copyright © 2009-2020 Michael Truog
Version: 1.8.1 Jun 3 2020 19:29:59 ------------------------------------------------------------------------
Behaviours: cloudi_service.
Authors: Michael Truog (mjtruog at protonmail dot com).
agent() = cloudi:agent()
common_result() = {updated, count()} | {selected, rows()} | {error, any()}
count() = non_neg_integer()
module_response(Result) = {{ok, Result}, NewAgent::agent()} | {{error, cloudi:error_reason()}, NewAgent::agent()}
rows() = [tuple()]
service_name() = cloudi:service_name()
timeout_milliseconds() = cloudi:timeout_milliseconds()
cloudi_service_handle_info(Request, State, Dispatcher) -> any()
cloudi_service_handle_request(RequestType, 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()
equery(Agent::agent(), Name::service_name(), Query::string() | binary(), Parameters::list()) -> module_response(any())
equery(Agent::agent(), Name::service_name(), Query::string() | binary(), Parameters::list(), Timeout::timeout_milliseconds()) -> module_response(any())
execute_query(Agent::agent(), Name::service_name(), Identifier::atom(), Arguments::list()) -> module_response(any())
execute_query(Agent::agent(), Name::service_name(), Identifier::atom(), Arguments::list(), Timeout::timeout_milliseconds()) -> module_response(any())
prepare_query(Agent::agent(), Name::service_name(), Identifier::atom(), Query::string() | binary()) -> module_response(ok)
prepare_query(Agent::agent(), Name::service_name(), Identifier::atom(), Query::string() | binary(), Timeout::timeout_milliseconds()) -> module_response(ok)
squery(Agent::agent(), Name::service_name(), Query::string() | binary()) -> module_response(any())
squery(Agent::agent(), Name::service_name(), Query::string() | binary(), Timeout::timeout_milliseconds()) -> module_response(any())
transaction(Agent::agent(), Name::service_name(), QueryList::[string() | binary()]) -> module_response(ok | {error, any()})
transaction(Agent::agent(), Name::service_name(), QueryList::[string() | binary()], Timeout::timeout_milliseconds()) -> module_response(ok | {error, any()})
Generated by EDoc