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

#include <lance/detail/declarations.hpp>

Public Attributes

uint64_t interval = 0
 
int64_t older_than_seconds = 0
 
int32_t older_than_nanos = 0
 

Detailed Description

Native auto-cleanup settings for WriteOptions.

interval is the number of committed versions between cleanup runs; 0 is valid and considers cleanup on every commit.

older_than_seconds and older_than_nanos express the native chrono::TimeDelta retention window as older_than_seconds + older_than_nanos / 1000000000. Both fields carry the sign; older_than_nanos must be in [-999999999, 999999999] and the combined value must fit in the native TimeDelta range (about +/-292 million years). Negative durations are rejected by Lance when the write transaction is built.

Definition at line 540 of file declarations.hpp.

Member Data Documentation

◆ interval

uint64_t lance::AutoCleanupParams::interval = 0

Definition at line 541 of file declarations.hpp.

◆ older_than_nanos

int32_t lance::AutoCleanupParams::older_than_nanos = 0

Definition at line 543 of file declarations.hpp.

◆ older_than_seconds

int64_t lance::AutoCleanupParams::older_than_seconds = 0

Definition at line 542 of file declarations.hpp.


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