|
| template<class T > |
| static ARTKey | CreateARTKey (ArenaAllocator &allocator, T value) |
| |
| template<class T > |
| static ARTKey | CreateARTKey (ArenaAllocator &allocator, Value &value) |
| |
| template<class T > |
| static void | CreateARTKey (ArenaAllocator &allocator, ARTKey &key, T value) |
| |
| template<class T > |
| static void | CreateARTKey (ArenaAllocator &allocator, ARTKey &key, Value value) |
| |
| static ARTKey | CreateARTKeyFromBytes (ArenaAllocator &allocator, const_data_ptr_t data, idx_t len) |
| |
|
static ARTKey | CreateKey (ArenaAllocator &allocator, Value &value, optional_idx storage_version) |
| |
|
|
idx_t | len |
| |
|
data_ptr_t | data |
| |
◆ CreateARTKey() [1/4]
58835 {
58836 auto data = ARTKey::CreateData<T>(allocator, value);
58837 return ARTKey(data, sizeof(value));
58838 }
◆ CreateARTKey() [2/4]
58841 {
58842 return CreateARTKey(allocator, value.GetValueUnsafe<T>());
58843 }
◆ CreateARTKey() [3/4]
58846 {
58847 key.data = ARTKey::CreateData<T>(allocator, value);
58848 key.len = sizeof(value);
58849 }
◆ CreateARTKey() [4/4]
58852 {
58853 key.data = ARTKey::CreateData<T>(allocator, value.GetValueUnsafe<T>());
58854 key.len = sizeof(value);
58855 }
◆ CreateARTKeyFromBytes()
58857 {
58858 auto new_data = allocator.Allocate(len);
58859 memcpy(new_data, data, len);
58860 return ARTKey(new_data, len);
58861 }
◆ operator[]() [1/2]
58866 {
58867 return data[i];
58868 }
◆ operator[]() [2/2]
58869 {
58870 return data[i];
58871 }
◆ ByteMatches()
58876 {
58878 }
double depth(InputArray R, InputArray t, InputArray X)
◆ Empty()
| bool duckdb::ARTKey::Empty |
( |
| ) |
const |
|
inline |
58879 {
58880 return len == 0;
58881 }
◆ CreateData()
58889 {
58890 auto data = allocator.Allocate(sizeof(value));
58891 Radix::EncodeData<T>(data, value);
58892 return data;
58893 }
The documentation for this class was generated from the following file:
- external/duckdb/duckdb.cpp