Versions in this module Expand all Collapse all v1 v1.0.1 Jun 10, 2024 v1.0.0 Jun 7, 2024 Changes in this version + func Coalesce(cmp base.Compare, eq base.Equal, keys []keyspan.Key, dst *[]keyspan.Key) error + func Decode(ik base.InternalKey, v []byte, keysDst []keyspan.Key) (keyspan.Span, error) + func DecodeEndKey(kind base.InternalKeyKind, data []byte) (endKey, value []byte, ok bool) + func Encode(s *keyspan.Span, emit func(k base.InternalKey, v []byte) error) error + func EncodeSetValue(dst []byte, endKey []byte, suffixValues []SuffixValue) int + func EncodeUnsetValue(dst []byte, endKey []byte, suffixes [][]byte) int + func EncodedSetValueLen(endKey []byte, suffixValues []SuffixValue) int + func EncodedUnsetValueLen(endKey []byte, suffixes [][]byte) int + func IsRangeKey(kind base.InternalKeyKind) bool + type Buffers struct + func (bufs *Buffers) PrepareForReuse() + type Encoder struct + Emit func(base.InternalKey, []byte) error + func (e *Encoder) Encode(s *keyspan.Span) error + type SuffixValue struct + Suffix []byte + Value []byte + type UserIteratorConfig struct + func (ui *UserIteratorConfig) AddLevel(iter keyspan.FragmentIterator) + func (ui *UserIteratorConfig) Init(comparer *base.Comparer, snapshot uint64, lower, upper []byte, hasPrefix *bool, ...) keyspan.FragmentIterator + func (ui *UserIteratorConfig) NewLevelIter() *keyspan.LevelIter + func (ui *UserIteratorConfig) SetBounds(lower, upper []byte) + func (ui *UserIteratorConfig) ShouldDefragment(equal base.Equal, a, b *keyspan.Span) bool + func (ui *UserIteratorConfig) Transform(cmp base.Compare, s keyspan.Span, dst *keyspan.Span) error