Skip to main content

Module keys

Module keys 

Source

Functions§

dg_key
Returns bytes DB key from concatenation of ‘.’ with qualified Base64 prefix bytes pre and qualified Base64 bytes digest of serialized event
dt_key
Returns bytes DB key from concatenation of ‘|’ qualified Base64 prefix bytes pre and bytes dts datetime string of extended tz aware ISO8601 datetime of event
fn_key
Returns key formed by joining pre and hex str conversion of int first seen ordinal number fn with sep character b“.“.
on_key
Returns key formed by joining top key and hex str conversion of int ordinal number on with sep character.
sn_key
Returns key formed by joining pre and hex str conversion of int sequence ordinal number sn with sep character b“.“.
split_fn_key
split_key
Returns duple of pre and either dig or on, sn, fn str or dts datetime str by splitting key at bytes sep
split_key_dt
Returns tuple of pre and datetime from key
split_key_fn
split_key_on
split_key_sn
split_on_key
Returns tuple of pre and int on from key
split_sn_key
suffix
Returns actual DB key after concatenating suffix as hex version of insertion ordering ordinal int ion using separator sep.
unsuffix
Returns tuple of key and ion by splitting iokey at rightmost separator sep