Owned native RewrittenIndex. Move-only.
More...
#include <lance/detail/declarations.hpp>
Owned native RewrittenIndex. Move-only.
Definition at line 1067 of file declarations.hpp.
◆ RewrittenIndex() [1/4]
◆ RewrittenIndex() [2/4]
| lance::RewrittenIndex::RewrittenIndex |
( |
const std::array< uint8_t, 16 > & | old_id, |
|
|
const std::array< uint8_t, 16 > & | new_id, |
|
|
std::string_view | details_type_url, |
|
|
const std::vector< uint8_t > & | details_value, |
|
|
uint32_t | index_version, |
|
|
std::optional< std::vector< IndexFile > > | index_files ) |
Build one rewritten-index record. index_files == std::nullopt maps to native None, while an engaged empty vector is the distinct Some(empty) state older writers persisted.
◆ RewrittenIndex() [3/4]
◆ RewrittenIndex() [4/4]
◆ c_handle()
◆ clone()
Clone into independently owned native storage.
◆ details_type_url()
| std::string lance::RewrittenIndex::details_type_url |
( |
| ) |
const |
◆ details_value()
| std::vector< uint8_t > lance::RewrittenIndex::details_value |
( |
| ) |
const |
◆ files()
| std::vector< IndexFile > lance::RewrittenIndex::files |
( |
| ) |
const |
Index files. Returns an empty vector both for native None and Some(empty); use has_files() to tell them apart.
◆ has_files()
| bool lance::RewrittenIndex::has_files |
( |
| ) |
const |
◆ new_id()
| std::array< uint8_t, 16 > lance::RewrittenIndex::new_id |
( |
| ) |
const |
◆ old_id()
| std::array< uint8_t, 16 > lance::RewrittenIndex::old_id |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ version()
| uint32_t lance::RewrittenIndex::version |
( |
| ) |
const |
The documentation for this class was generated from the following file: