Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
LanceFileReaderOptions Struct Reference

#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
 

Detailed Description

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.

Definition at line 10054 of file lance.h.

Member Data Documentation

◆ batch_size_bytes

uint64_t LanceFileReaderOptions::batch_size_bytes

Definition at line 10062 of file lance.h.

◆ cache_mode

int32_t LanceFileReaderOptions::cache_mode

Definition at line 10058 of file lance.h.

◆ cache_repetition_index

int32_t LanceFileReaderOptions::cache_repetition_index

Definition at line 10064 of file lance.h.

◆ column_count

size_t LanceFileReaderOptions::column_count

Definition at line 10057 of file lance.h.

◆ columns

const char* const* LanceFileReaderOptions::columns

Definition at line 10056 of file lance.h.

◆ has_batch_size_bytes

int32_t LanceFileReaderOptions::has_batch_size_bytes

Definition at line 10061 of file lance.h.

◆ has_cache_repetition_index

int32_t LanceFileReaderOptions::has_cache_repetition_index

Definition at line 10063 of file lance.h.

◆ has_columns

int32_t LanceFileReaderOptions::has_columns

Definition at line 10055 of file lance.h.

◆ has_inline_scheduling

int32_t LanceFileReaderOptions::has_inline_scheduling

Definition at line 10067 of file lance.h.

◆ has_read_chunk_size

int32_t LanceFileReaderOptions::has_read_chunk_size

Definition at line 10059 of file lance.h.

◆ has_validate_on_decode

int32_t LanceFileReaderOptions::has_validate_on_decode

Definition at line 10065 of file lance.h.

◆ inline_scheduling

int32_t LanceFileReaderOptions::inline_scheduling

Definition at line 10068 of file lance.h.

◆ read_chunk_size

uint64_t LanceFileReaderOptions::read_chunk_size

Definition at line 10060 of file lance.h.

◆ validate_on_decode

int32_t LanceFileReaderOptions::validate_on_decode

Definition at line 10066 of file lance.h.


The documentation for this struct was generated from the following file: