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

#include <lance/detail/declarations.hpp>

Public Attributes

uint64_t max_rows_per_file = 0
 
uint64_t max_rows_per_group = 0
 
uint64_t max_bytes_per_file = 0
 
std::optional< std::string > data_storage_version
 Lance file format version, e.g. "2.0", "2.1", "stable", "legacy".
 
bool enable_stable_row_ids = false
 

Detailed Description

Tunable parameters for Dataset::write. Numeric fields default-out via 0; data_storage_version defaults out via std::nullopt.

enable_stable_row_ids has no default sentinel — whatever value the caller writes is forwarded to upstream. Today this matches upstream's default (false), so a default-constructed WriteParams is a no-op; if upstream ever changes its default, callers must set this field explicitly.

Definition at line 519 of file declarations.hpp.

Member Data Documentation

◆ data_storage_version

std::optional<std::string> lance::WriteParams::data_storage_version

Lance file format version, e.g. "2.0", "2.1", "stable", "legacy".

Definition at line 524 of file declarations.hpp.

◆ enable_stable_row_ids

bool lance::WriteParams::enable_stable_row_ids = false

Definition at line 525 of file declarations.hpp.

◆ max_bytes_per_file

uint64_t lance::WriteParams::max_bytes_per_file = 0

Definition at line 522 of file declarations.hpp.

◆ max_rows_per_file

uint64_t lance::WriteParams::max_rows_per_file = 0

Definition at line 520 of file declarations.hpp.

◆ max_rows_per_group

uint64_t lance::WriteParams::max_rows_per_group = 0

Definition at line 521 of file declarations.hpp.


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