package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
NewHashReverseIter creates a reverse hash iterator.
NewHashReverseIterBeginWithField creates a reverse hash iterator, begin with field.
NewStructure creates a TxStructure with Retriever, RetrieverMutator and key prefix.
# Constants
HashData is the flag for hash data.
HashMeta is the flag for hash meta.
ListData is the flag for list data.
ListMeta is the flag for list meta.
StringData is the flag for string data.
StringMeta is the flag for string meta.
# Variables
ErrInvalidHashKeyFlag used by structure.
ErrInvalidListIndex used by structure.
ErrInvalidListMetaData used by structure.
ErrWriteOnSnapshot used by structure.
# Structs
HashPair is the pair for (field, value) in a hash.
ReverseHashIterator is the reverse hash iterator.
TxStructure supports some simple data structures like string, hash, list, etc..
# Type aliases
TypeFlag is for data structure meta/data flag.