mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 23:31:03 +00:00
added enterprise btree first
This commit is contained in:
parent
f15cb9e05c
commit
778ae1e8e2
1 changed files with 7 additions and 0 deletions
|
|
@ -149,6 +149,13 @@ func (btc *bTreeContainers) Clone() roaring.Containers {
|
|||
return nbtc
|
||||
}
|
||||
|
||||
func (btc *bTreeContainers) First() (key uint64, c *roaring.Container) {
|
||||
if btc.tree.Len() == 0 {
|
||||
return 0, nil
|
||||
}
|
||||
return btc.tree.First()
|
||||
}
|
||||
|
||||
func (btc *bTreeContainers) Last() (key uint64, c *roaring.Container) {
|
||||
if btc.tree.Len() == 0 {
|
||||
return 0, nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue