Move-only builder for one uncommitted physical index segment.
More...
#include <lance/detail/declarations.hpp>
Move-only builder for one uncommitted physical index segment.
Definition at line 5625 of file declarations.hpp.
◆ IndexSegmentBuilder() [1/3]
◆ IndexSegmentBuilder() [2/3]
◆ IndexSegmentBuilder() [3/3]
◆ c_handle()
◆ execute_uncommitted()
| std::vector< uint8_t > lance::IndexSegmentBuilder::execute_uncommitted |
( |
| ) |
|
Execute the single-use builder without committing a dataset manifest. Native bytes are released even if error handling or vector allocation throws an exception.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ progress_callback()
Register a non-null index-build progress callback. Must be called before execute_uncommitted; the builder is single-use. The callback is invoked from internal worker threads and may be called concurrently from parallel worker tasks, so it must be thread-safe, non-blocking, and must not access the indexed dataset or call runtime-backed lance_* entry points. Non-runtime leaf utilities are unaffected. Callbacks must return normally: unwinding or throwing can abort the host process. Invocations occur only while execute_uncommitted runs, and this is enforced: lance-c disables the callback and drains in-flight invocations before that call returns, including on error, so a worker task detached by core can never invoke it afterwards. The callback and the context (if non-null) must remain valid until execute_uncommitted returns. Progress reporting is advisory and cannot affect the build outcome.
The documentation for this class was generated from the following file: