|
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 | has_columns |
| const char *const * | columns |
| size_t | column_count |
| int32_t | cache_mode |
| int32_t | has_read_chunk_size |
| uint64_t | read_chunk_size |
| int32_t | has_batch_size_bytes |
| uint64_t | batch_size_bytes |
| int32_t | has_cache_repetition_index |
| int32_t | cache_repetition_index |
| int32_t | has_validate_on_decode |
| int32_t | validate_on_decode |
| int32_t | has_inline_scheduling |
| int32_t | inline_scheduling |
Reader options.
has_columns nonzero forwards exactly column_count names; count zero is an explicit empty projection and is rejected by native validation. A NULL options pointer uses native defaults and no projection.
SESSION cache requires a shared LanceSession and shares its capacity through a reader-local namespace. Entries can be reused within that reader. Native file cache keys lack backing-store identity and content versions. Files must remain immutable while their reader or streams are active. NONE uses native LanceCache::no_cache and is the default.
has_* fields distinguish None from explicit zero/false. Boolean payloads must be 0 or 1 when set.
| int32_t LanceFileReaderOptions::has_cache_repetition_index |