themis/internal/erlang/ets
Types
pub type TableAccess {
Public
Protected
Private
}
Constructors
-
Public
-
Protected
-
Private
pub type TableBuilder {
TableBuilder(table_type: TableType, table_access: TableAccess)
}
Constructors
-
TableBuilder(table_type: TableType, table_access: TableAccess)
pub type TableInfo {
TableInfo(
id: Tid,
decentralized_counters: Bool,
read_concurrency: Bool,
write_concurrency: Bool,
compressed: Bool,
memory: Int,
owner: Pid,
heir: Option(Pid),
name: Atom,
size: Int,
node: Atom,
named_table: Bool,
table_type: TableType,
keypos: Int,
protection: TableAccess,
)
}
Constructors
-
TableInfo( id: Tid, decentralized_counters: Bool, read_concurrency: Bool, write_concurrency: Bool, compressed: Bool, memory: Int, owner: Pid, heir: Option(Pid), name: Atom, size: Int, node: Atom, named_table: Bool, table_type: TableType, keypos: Int, protection: TableAccess, )
pub type TableType {
Set
OrderedSet
Bag
DuplicateBag
}
Constructors
-
Set
-
OrderedSet
-
Bag
-
DuplicateBag
Functions
pub fn counter_increment(table: Table, key: a) -> Nil
pub fn counter_increment_by(
table: Table,
key: a,
by: Number,
) -> Nil
pub fn insert_many(table: Table, to_insert: Dict(a, b)) -> Bool
pub fn insert_new_raw(
table: Table,
object: Dynamic,
) -> Result(Nil, Nil)
pub fn insert_raw(table: Table, object: a) -> Bool
pub fn match_metric(table: Table, kind: a) -> List(Dynamic)
pub fn match_record(table: Table, name: String) -> List(Dynamic)