Documentation ¶
Index ¶
- Constants
- Variables
- type BTree
- type BTreeDB5
- func (h *BTreeDB5) Ascend(iter Iterator) (e error)
- func (h *BTreeDB5) AscendRange(start, stop Key, iter Iterator) (e error)
- func (h *BTreeDB5) Close() error
- func (h *BTreeDB5) Commit() (e error)
- func (h *BTreeDB5) Descend(iter Iterator) (e error)
- func (h *BTreeDB5) DescendRange(start, stop Key, iter Iterator) (e error)
- func (h *BTreeDB5) First() (k Key, r ByteArray, e error)
- func (h *BTreeDB5) Get(key Key) (r ByteArray, e error)
- func (h *BTreeDB5) Has(key Key) (r bool, e error)
- func (h *BTreeDB5) Insert(key Key, data ByteArray) (e error)
- func (h *BTreeDB5) Last() (k Key, r ByteArray, e error)
- func (h *BTreeDB5) Remove(key Key) (e error)
- func (h *BTreeDB5) Rollback() (e error)
- type ByteArray
- type Iterator
- type Key
Constants ¶
View Source
const ( IndexNode = 'I' LeafNode = 'L' FreeNode = 'F' )
Variables ¶
View Source
var (
Magic = []byte{'B', 'T', 'r', 'e', 'e', 'D', 'B', '5'}
)
Functions ¶
This section is empty.
Types ¶
type BTreeDB5 ¶
type BTreeDB5 struct { Identifier string BlockSize int KeySize int UseAltRoot bool Tree BTree // contains filtered or unexported fields }
func (*BTreeDB5) AscendRange ¶
func (*BTreeDB5) DescendRange ¶
type ByteArray ¶
type ByteArray = data_types.ByteArray
Click to show internal directories.
Click to hide internal directories.