|
|
class | Node7Leaf |
|
class | Node15Leaf |
|
class | Node256Leaf |
◆ New()
template<
uint8_t CAPACITY, NType TYPE>
Get a new BaseLeaf and initialize it.
150900 {
150903
150906
150909 }
Definition duckdb.cpp:150884
IndexPointer New()
Get a new IndexPointer to a segment, might cause a new buffer allocation.
Definition duckdb.cpp:156189
static FixedSizeAllocator & GetAllocator(const ART &art, const NType type)
Get a reference to the allocator.
Definition duckdb.cpp:154663
◆ HasByte()
template<
uint8_t CAPACITY, NType TYPE>
Returns true, if the byte exists, else false.
150912 {
150914 if (key[
i] ==
byte) {
150915 return true;
150916 }
150917 }
150918 return false;
150919 }
◆ GetBytes()
template<
uint8_t CAPACITY, NType TYPE>
Returns a pointer to the bytes in the leaf. The pointer's data is valid as long as the leaf is valid.
◆ GetNextByte()
template<
uint8_t CAPACITY, NType TYPE>
Get the first byte greater than or equal to the byte. Returns true, if such a byte exists, else false.
150929 {
150931 if (key[
i] >=
byte) {
150933 return true;
150934 }
150935 }
150936 return false;
150937 }
◆ InsertByteInternal()
template<
uint8_t CAPACITY, NType TYPE>
153448 {
153449
153453 }
153454
153455
153457 n.key[
i] =
n.key[
i - 1];
153458 }
153459
153462}
◆ DeleteByteInternal()
template<
uint8_t CAPACITY, NType TYPE>
153466 {
153470
153473 break;
153474 }
153475 }
153477
153478
153480 n.key[
i] =
n.key[
i + 1];
153481 }
153483}
The documentation for this class was generated from the following file: