Behaviours: gen_server
.
alias() = atom()
cf() = mrdb:db_ref()
db_ref() = rocksdb:db_handle()
properties() = [{atom(), any()}]
reason() = any()
reply() = any()
req() = {create_table, table(), properties()} | {delete_table, table()} | {load_table, table()} | {related_resources, table()} | {get_ref, table()} | {add_aliases, [alias()]} | {write_table_property, tabname(), tuple()} | {remove_aliases, [alias()]} | {migrate, [{tabname(), map()}]} | {prep_close, table()} | {close_table, table()}
st() = #st{backends = #{alias() => backend()}, standalone = #{{alias(), table()} => cf()}, default_opts = [{atom(), term()}]}
tabname() = atom()
add_aliases(Aliases) -> any()
close_table(Alias, Name) -> any()
code_change(FromVsn, St, Extra) -> any()
create_table(Alias, Name, Props) -> any()
ensure_started() -> ok
get_ref(Name) -> any()
get_ref(Name, Default) -> any()
handle_call(Req::{alias(), req()}, From::any(), St::st()) -> gen_server_reply()
handle_cast(Msg::any(), St::st()) -> gen_server_noreply()
handle_info(Msg::any(), St::st()) -> gen_server_noreply()
init(X1) -> any()
load_table(Alias, Name) -> any()
meta() -> any()
migrate_standalone(Alias, Tabs) -> any()
prep_close(Alias, Tab) -> any()
read_info(TRec) -> any()
read_info(Alias, Tab) -> any()
read_info(Alias, Tab, K, Default) -> any()
related_resources(Alias, Name) -> any()
remove_aliases(Aliases) -> any()
request_ref(Alias, Name) -> any()
start_link() -> any()
terminate(X1, St) -> any()
write_info(Alias, Tab, K, V) -> any()
write_table_property(Alias, Tab, Prop) -> any()