BTree represents a B-tree index with optional TTL support.
| 29 | |
| 30 | // BTree represents a B-tree index with optional TTL support. |
| 31 | type BTree struct { |
| 32 | index *btree.BTreeG[*core.Item[core.Record]] |
| 33 | ttlChecker *ttl.Checker |
| 34 | bucketId uint64 |
| 35 | } |
| 36 | |
| 37 | // NewBTree creates a new BTree instance with optional TTL support. |
| 38 | // If no ttlChecker is provided, TTL checking is disabled (useful for internal use like List). |
nothing calls this directly
no outgoing calls
no test coverage detected