BTreeIterator represents an iterator for BTree index.
| 70 | |
| 71 | // BTreeIterator represents an iterator for BTree index. |
| 72 | type BtreeIterator struct { |
| 73 | currIndex int // Current index position during iteration |
| 74 | reverse bool // Whether it is a reverse iteration |
| 75 | values []*Item // Key + position index information |
| 76 | } |
| 77 | |
| 78 | func NewBTreeIterator(tree *btree.BTree, reverse bool) *BtreeIterator { |
| 79 | var idx int |
nothing calls this directly
no outgoing calls
no test coverage detected