struct Store::KVAction
- Store::KVAction
- Struct
- Value
- Object
Defined in:
store/kv_action.crConstructors
Class Method Summary
- .decode_u32(encoded : Bytes)
- .decode_u32_array(encoded : Bytes)
- .decode_u32_set(encoded : Bytes)
- .encode_u32(decoded : UInt32) : Bytes
- .encode_u32_array(decoded : Array(UInt32)) : Bytes
- .encode_u32_set(decoded : Set(UInt32)) : Bytes
Instance Method Summary
- #add_term_to_iids?(term_hashed : TermHash, iid : UInt32, index : UInt8 = 0)
- #batch_erase_bucket
- #batch_flush_bucket(iid : UInt32, oid : String)
- #bucket : String
- #bucket=(bucket : String)
- #delete_iid_to_attrs(iid : UInt32)
- #delete_iid_to_oid(iid : UInt32)
- #delete_iid_to_terms(iid : UInt32)
- #delete_oid_to_iid(oid : String)
- #delete_term_to_iids(term_hashed : TermHash, index : UInt8 = 0)
-
#get_iid_to_attrs(iid : UInt32)
IID-to-Attrs mapper
-
#get_iid_to_oid(iid : UInt32)
IID-to-OID mapper
-
#get_iid_to_terms(iid : UInt32)
IID-to-Terms mapper
-
#get_meta_to_value(meta : MetaKey)
Meta-to-Value mapper
-
#get_oid_to_iid(oid : String, &)
OID-to-IID mapper
- #get_oid_to_iid(oid : String)
-
#get_term_to_iids(term_hashed : TermHash, index : UInt8 = 0)
Term-to-IIDs mapper
- #iterate_term_to_iids(term_hashed : TermHash, start_index : UInt8 = 0, length = MAX_TERM_INDEX_SIZE, &)
- #set_iid_to_attrs(iid : UInt32, attrs : Array(UInt32))
- #set_iid_to_oid(iid : UInt32, oid : String)
- #set_iid_to_terms(iid : UInt32, terms_hashed : Set(UInt32))
- #set_meta_to_value(meta : MetaKey, value : UInt32)
- #set_oid_to_iid(oid : String, iid : UInt32)
- #set_term_to_iids(term_hashed : TermHash, iids : Set(UInt32), index : UInt8 = 0)
- #store : KVStore
- #store=(store : KVStore)
Constructor Detail
Class Method Detail
Instance Method Detail
Meta-to-Value mapper
[IDX=0] ((meta)) ~> ((value))
Term-to-IIDs mapper
[IDX=1] ((term)) ~> [((iid))]