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

#include <lance/lance.h>

Public Attributes

int32_t has_durable_write
 
int32_t durable_write
 
int32_t has_max_wal_buffer_size
 
uint64_t max_wal_buffer_size
 
int32_t has_max_wal_flush_interval_ms
 
uint64_t max_wal_flush_interval_ms
 
int32_t has_max_memtable_size
 
uint64_t max_memtable_size
 
int32_t has_max_memtable_rows
 
uint64_t max_memtable_rows
 
int32_t has_max_memtable_batches
 
uint64_t max_memtable_batches
 
int32_t has_max_unflushed_memtable_bytes
 
uint64_t max_unflushed_memtable_bytes
 
int32_t has_manifest_scan_batch_size
 
uint64_t manifest_scan_batch_size
 
int32_t has_backpressure_log_interval_ms
 
uint64_t backpressure_log_interval_ms
 
int32_t has_stats_log_interval_ms
 
uint64_t stats_log_interval_ms
 
const LanceMemWalHnswParams * hnsw_params
 
size_t num_hnsw_params
 

Detailed Description

Optional overrides for a native ShardWriterConfig.

A NULL config on lance_shard_writer_open() selects the native default. On lance_mem_wal_initialize(), a NULL config records no writer-configuration defaults, while a non-NULL config starts from the native default and records every resulting default in the MemWAL index. A present field with value 0 is forwarded to native code except stats_log_interval_ms, where 0 disables periodic logging (native None) and is omitted from the recorded defaults.

hnsw_params is required to be non-NULL when num_hnsw_params > 0.

Definition at line 11107 of file lance.h.

Member Data Documentation

◆ backpressure_log_interval_ms

uint64_t LanceShardWriterConfig::backpressure_log_interval_ms

Definition at line 11133 of file lance.h.

◆ durable_write

int32_t LanceShardWriterConfig::durable_write

Definition at line 11109 of file lance.h.

◆ has_backpressure_log_interval_ms

int32_t LanceShardWriterConfig::has_backpressure_log_interval_ms

Definition at line 11132 of file lance.h.

◆ has_durable_write

int32_t LanceShardWriterConfig::has_durable_write

Definition at line 11108 of file lance.h.

◆ has_manifest_scan_batch_size

int32_t LanceShardWriterConfig::has_manifest_scan_batch_size

Definition at line 11129 of file lance.h.

◆ has_max_memtable_batches

int32_t LanceShardWriterConfig::has_max_memtable_batches

Definition at line 11123 of file lance.h.

◆ has_max_memtable_rows

int32_t LanceShardWriterConfig::has_max_memtable_rows

Definition at line 11120 of file lance.h.

◆ has_max_memtable_size

int32_t LanceShardWriterConfig::has_max_memtable_size

Definition at line 11117 of file lance.h.

◆ has_max_unflushed_memtable_bytes

int32_t LanceShardWriterConfig::has_max_unflushed_memtable_bytes

Definition at line 11126 of file lance.h.

◆ has_max_wal_buffer_size

int32_t LanceShardWriterConfig::has_max_wal_buffer_size

Definition at line 11111 of file lance.h.

◆ has_max_wal_flush_interval_ms

int32_t LanceShardWriterConfig::has_max_wal_flush_interval_ms

Definition at line 11114 of file lance.h.

◆ has_stats_log_interval_ms

int32_t LanceShardWriterConfig::has_stats_log_interval_ms

Definition at line 11135 of file lance.h.

◆ hnsw_params

const LanceMemWalHnswParams* LanceShardWriterConfig::hnsw_params

Definition at line 11138 of file lance.h.

◆ manifest_scan_batch_size

uint64_t LanceShardWriterConfig::manifest_scan_batch_size

Definition at line 11130 of file lance.h.

◆ max_memtable_batches

uint64_t LanceShardWriterConfig::max_memtable_batches

Definition at line 11124 of file lance.h.

◆ max_memtable_rows

uint64_t LanceShardWriterConfig::max_memtable_rows

Definition at line 11121 of file lance.h.

◆ max_memtable_size

uint64_t LanceShardWriterConfig::max_memtable_size

Definition at line 11118 of file lance.h.

◆ max_unflushed_memtable_bytes

uint64_t LanceShardWriterConfig::max_unflushed_memtable_bytes

Definition at line 11127 of file lance.h.

◆ max_wal_buffer_size

uint64_t LanceShardWriterConfig::max_wal_buffer_size

Definition at line 11112 of file lance.h.

◆ max_wal_flush_interval_ms

uint64_t LanceShardWriterConfig::max_wal_flush_interval_ms

Definition at line 11115 of file lance.h.

◆ num_hnsw_params

size_t LanceShardWriterConfig::num_hnsw_params

Definition at line 11139 of file lance.h.

◆ stats_log_interval_ms

uint64_t LanceShardWriterConfig::stats_log_interval_ms

Definition at line 11136 of file lance.h.


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