Module gen_storage [erl svg]

Data Types

attributedef()

attributedef() = [{Column::atom(), columndef()}]

columndef()

columndef() = text | int | tuple()

option()

option() = {odbc_host, string()} | {Table::atom(), [tabdef()]}

options()

options() = [option()]

tabdef()

tabdef() = {attributes, AtomList} | {record_name, atom()} | {types, attributedef()}

Function Index

add_table_copy/4
add_table_index/3
all_table_hosts/1
async_dirty/3
backend_apply/3*
backend_apply/4*
behaviour_info/1
count_records/2
count_records/3
create_table/4
define_table/4*
delete/2
delete/4
delete_object/2
delete_object/4
delete_table/2
delete_where/3
delete_where_mnesia1/1*
dirty_count_records/2
dirty_count_records/3
dirty_delete/2
dirty_delete/3
dirty_delete_object/2
dirty_delete_object/3
dirty_delete_where/3
dirty_read/2
dirty_read/3
dirty_select/3
dirty_write/2
dirty_write/3
filter_mnesia_tabdef/1*
filter_mnesia_tabdef_/1*
get_table/2*
list_find/2*
list_find/3*
matchrules_to_mnesia_matchspec/2*
matchrules_transform_column_op/3*
matchrules_transform_conditions/2*
mnesia_count_records_cont/2*
read/2
read/4
select/2
select/3
select/4
select/5
sync_dirty/3
table_info/3
transaction/3
transaction2/3*
write/2
write/4
write_lock_table/2

Function Details

add_table_copy/4

add_table_copy(Host, Tab, Node, Type) -> any()

add_table_index/3

add_table_index(Host, Tab, Attribute) -> any()

all_table_hosts/1

all_table_hosts(Tab) -> any()

async_dirty/3

async_dirty(Host, Tab, Fun) -> any()

backend_apply/3 *

backend_apply(F, Host, Tab) -> any()

backend_apply/4 *

backend_apply(F, Host, Tab, A) -> any()

behaviour_info/1

behaviour_info(X1) -> any()

count_records/2

count_records(Host, Tab) -> any()

count_records/3

count_records(Host, Tab, MatchRules) -> any()

create_table/4

create_table(X1::backend(), Host::binary(), Name::atom(), Def::options()) -> {atomic, ok} | {aborted, Reason}

define_table/4 *

define_table(Backend, Host, Name, Def) -> any()

delete/2

delete(Host, X2) -> any()

delete/4

delete(Host, Tab, Key, LockKind) -> any()

delete_object/2

delete_object(Host, Rec) -> any()

delete_object/4

delete_object(Host, Tab, Rec, LockKind) -> any()

delete_table/2

delete_table(Host, Tab) -> any()

delete_where/3

delete_where(Host, Tab, MatchRules) -> any()

delete_where_mnesia1/1 *

delete_where_mnesia1(X1) -> any()

dirty_count_records/2

dirty_count_records(Host, Tab) -> any()

dirty_count_records/3

dirty_count_records(Host, Tab, MatchRules) -> any()

dirty_delete/2

dirty_delete(Host, X2) -> any()

dirty_delete/3

dirty_delete(Host, Tab, Key) -> any()

dirty_delete_object/2

dirty_delete_object(Host, Rec) -> any()

dirty_delete_object/3

dirty_delete_object(Host, Tab, Rec) -> any()

dirty_delete_where/3

dirty_delete_where(Host, Tab, MatchRules) -> any()

dirty_read/2

dirty_read(Host, X2) -> any()

dirty_read/3

dirty_read(Host, Tab, Key) -> any()

dirty_select/3

dirty_select(Host, Tab, MatchRules) -> any()

dirty_write/2

dirty_write(Host, Rec) -> any()

dirty_write/3

dirty_write(Host, Tab, Rec) -> any()

filter_mnesia_tabdef/1 *

filter_mnesia_tabdef(TabDef::list()) -> [{atom(), any()}]

filter_mnesia_tabdef_/1 *

filter_mnesia_tabdef_(X1) -> any()

get_table/2 *

get_table(Host, Tab) -> any()

To do

list_find/2 *

list_find(E, L) -> any()

list_find/3 *

list_find(E, L, N) -> any()

matchrules_to_mnesia_matchspec/2 *

matchrules_to_mnesia_matchspec(Tab, MatchRules) -> any()

matchrules_transform_column_op/3 *

matchrules_transform_column_op(Op, Expression, Pattern) -> any()

matchrules_transform_conditions/2 *

matchrules_transform_conditions(Attributes, T) -> any()

To do

mnesia_count_records_cont/2 *

mnesia_count_records_cont(Cont, Count) -> any()

read/2

read(Host, X2) -> any()

read/4

read(Host, Tab, Key, LockKind) -> any()

select/2

select(X1, Cont) -> any()

select/3

select(Host, Tab, MatchRules) -> any()

select/4

select(Host, Tab, MatchRules, Lock) -> any()

select/5

select(Host, Tab, MatchRules, N, Lock) -> any()

sync_dirty/3

sync_dirty(Host, Tab, Fun) -> any()

table_info/3

table_info(Host, Tab, InfoKey) -> any()

transaction/3

transaction(Host, Tab, Fun) -> any()

transaction2/3 *

transaction2(Host, Tab, Fun) -> any()

write/2

write(Host, Rec) -> any()

write/4

write(Host, Tab, Rec, LockKind) -> any()

write_lock_table/2

write_lock_table(Host, Tab) -> any()


Generated by EDoc, May 27 2013, 07:15:12.