|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#include <lance/lance.h>
Public Attributes | |
| int32_t | kind |
| uint64_t | size_bytes |
| const char * | backend_uri |
| const char * | backend_kind |
| const char *const * | option_keys |
| const char *const * | option_values |
| size_t | option_count |
Description of one session cache tier.
Only the field selected by kind is read:
size_bytes. Zero is an explicit zero capacity, not DEFAULT.backend_uri.backend_kind, then option_count entries from the parallel option_keys and option_values arrays.All strings must be NUL-terminated UTF-8. option_count is an exact count, not a NULL-terminated sentinel: when it is non-zero, both option arrays must be non-NULL and each selected key/value must be non-NULL. Duplicate option keys are rejected. Unused fields are ignored.
Every buffer is borrowed only for the duration of lance_session_new_with_cache_specs(). Backend construction happens before it returns, and the caller retains ownership of all buffers.