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

#include <lance/lance.h>

Public Attributes

uint64_t target_rows_per_fragment
 
uint64_t max_rows_per_group
 
uint64_t max_bytes_per_file
 
uint64_t num_threads
 
uint64_t batch_size
 

Detailed Description

Tunable parameters for lance_dataset_compact_files. Pass NULL to use the upstream defaults. Each numeric field uses 0 as a "keep upstream default" sentinel; non-zero values are forwarded after a usize range check so the API does not silently truncate on 32-bit hosts.

This five-field layout is frozen. New callers should use LanceCompactionOptionsV2, which preserves native None/Some(0)/Some(empty) choices and exposes every native compaction option.

Definition at line 2312 of file lance.h.

Member Data Documentation

◆ batch_size

uint64_t LanceCompactionOptions::batch_size

Definition at line 2324 of file lance.h.

◆ max_bytes_per_file

uint64_t LanceCompactionOptions::max_bytes_per_file

Definition at line 2319 of file lance.h.

◆ max_rows_per_group

uint64_t LanceCompactionOptions::max_rows_per_group

Definition at line 2317 of file lance.h.

◆ num_threads

uint64_t LanceCompactionOptions::num_threads

Definition at line 2322 of file lance.h.

◆ target_rows_per_fragment

uint64_t LanceCompactionOptions::target_rows_per_fragment

Definition at line 2315 of file lance.h.


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