# Functions
NewBitmap function initializes a new BitmapStructure with the provided options.
NewBitMapStructure returns a new BitMapStructure It will return a nil BitMapStructure if the database cannot be opened or the database cannot be created The database will be created if it does not exist.
NewExpireStructure returns a new ExpireStructure It will return a nil ExpireStructure if the database cannot be opened or the database cannot be created The database will be created if it does not exist.
NewHashStructure Returns a new NewHashStructure.
NewListStructure returns a new ListStructure It will return a nil ListStructure if the database cannot be opened or the database cannot be created The database will be created if it does not exist.
No description provided by the author
StreamStructure represents a stream structure.
NewStringStructure returns a new StringStructure It will return a nil StringStructure if the database cannot be opened or the database cannot be created The database will be created if it does not exist.
NewZSetStructure Returns a new ZSetStructure.
# Constants
BitAndOperation performs the AND operation.
bitmap is a bitmap data structure.
BitNotOperation performs the NOT operation.
BitOrOperation performs the OR operation.
BitXorOperation performs the XOR operation.
Expire is a expire data structure.
Hash is a hash data structure.
List is a list data structure.
Set is a set data structure.
.
SkipList Probability.
Stream is a stream data structure.
String is a string data structure.
ZSet is a zset data structure.
# Variables
ErrInvalidStream is returned when the stream is invalid.
ErrExistID is returned when the message ID already exists.
ErrIndexOutOfRange is returned if the index out of range.
ErrListEmpty is returned if the list is empty.
ErrInvalidCount is returned when the count is invalid.
ErrInvalidType is returned if the type is invalid.
ErrInvalidValue is returned if the value is invalid.
ErrInvalidXArgs is returned when the arguments are invalid.
ErrListEmpty is returned if the list is empty.
No description provided by the author
No description provided by the author
# Structs
BitmapStructure is a structure that holds a reference to the database engine.
No description provided by the author
BitSet is a structure that holds a reference to a BitSet.
No description provided by the author
encodeList encodes the value format: [type][data].
No description provided by the author
No description provided by the author
FZSet represents a specific data structure in the database, which is key to handling sorted sets (ZSets).
No description provided by the author
No description provided by the author
No description provided by the author
Due to the complexity of each operation is at least O(n) So we can directly use slice to implement the list at the bottom level If the implementation of the db is improved later, we need to switch to a linked list.
No description provided by the author
SkipList represents a skip list data structure, an ordered list with a hierarchical structure that allows for fast search and insertion of elements.
SkipListLevel is a structure encapsulating a single level in a skip list data structure.
SkipListNode represents a single node in a SkipList structure.
StreamGroup represents a consumer group in a stream.
StreamMessage represents a message in a stream.
Streams represents a stream with messages and consumer groups.
No description provided by the author
StringStructure is a structure that stores string data.
ZSetStructure is a structure for ZSet or SortedSet.
ZSetValue is a struct used in the SkipList data structure.
# Type aliases
BitOperation is a type used to define the operations that can be performed on bits.
No description provided by the author
FSets serves as a set data structure where every key in the map is an element of the set.