Documentation
¶
Index ¶
- Constants
- func AssertTrue(b bool)
- func AssertTruef(b bool, format string, args ...interface{})
- type Arena
- type SkipList
- func (skipList *SkipList) DecrRef()
- func (skipList *SkipList) Draw(align bool)
- func (skipList *SkipList) Empty() bool
- func (skipList *SkipList) Get(userKeyTs []byte) model.ValueExt
- func (skipList *SkipList) GetMemSize() int64
- func (skipList *SkipList) IncrRef()
- func (skipList *SkipList) NewSkipListIterator(name string) model.Iterator
- func (skipList *SkipList) Put(e model.Entry)
- type SkipListIterator
- func (s *SkipListIterator) Close() error
- func (s *SkipListIterator) Item() model.Item
- func (s *SkipListIterator) Key() []byte
- func (s *SkipListIterator) Name() string
- func (s *SkipListIterator) Next()
- func (s *SkipListIterator) Prev()
- func (s *SkipListIterator) Rewind()
- func (s *SkipListIterator) Seek(key []byte)
- func (s *SkipListIterator) SeekForPrev(target []byte)
- func (s *SkipListIterator) SeekToFirst()
- func (s *SkipListIterator) SeekToLast()
- func (s *SkipListIterator) Valid() bool
- func (s *SkipListIterator) Value() model.ValueExt
- func (s *SkipListIterator) ValueUint64() uint64
Constants ¶
View Source
const MaxSkipNodeSize = int(unsafe.Sizeof(skipNode{}))
Variables ¶
This section is empty.
Functions ¶
func AssertTrue ¶
func AssertTrue(b bool)
func AssertTruef ¶
Types ¶
type Arena ¶
type Arena struct {
// contains filtered or unexported fields
}
func (*Arena) AllocateNode ¶
type SkipList ¶
type SkipList struct { OnClose func() // contains filtered or unexported fields }
func NewSkipList ¶
func (*SkipList) GetMemSize ¶
func (*SkipList) NewSkipListIterator ¶
type SkipListIterator ¶
type SkipListIterator struct {
// contains filtered or unexported fields
}
func (*SkipListIterator) Close ¶
func (s *SkipListIterator) Close() error
func (*SkipListIterator) Item ¶
func (s *SkipListIterator) Item() model.Item
func (*SkipListIterator) Key ¶
func (s *SkipListIterator) Key() []byte
func (*SkipListIterator) Name ¶
func (s *SkipListIterator) Name() string
func (*SkipListIterator) Next ¶
func (s *SkipListIterator) Next()
func (*SkipListIterator) Prev ¶
func (s *SkipListIterator) Prev()
func (*SkipListIterator) Rewind ¶
func (s *SkipListIterator) Rewind()
func (*SkipListIterator) Seek ¶
func (s *SkipListIterator) Seek(key []byte)
func (*SkipListIterator) SeekForPrev ¶
func (s *SkipListIterator) SeekForPrev(target []byte)
func (*SkipListIterator) SeekToFirst ¶
func (s *SkipListIterator) SeekToFirst()
func (*SkipListIterator) SeekToLast ¶
func (s *SkipListIterator) SeekToLast()
func (*SkipListIterator) Valid ¶
func (s *SkipListIterator) Valid() bool
func (*SkipListIterator) Value ¶
func (s *SkipListIterator) Value() model.ValueExt
func (*SkipListIterator) ValueUint64 ¶
func (s *SkipListIterator) ValueUint64() uint64
Click to show internal directories.
Click to hide internal directories.