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

#include <lance/lance.h>

Public Attributes

int64_t older_than_seconds
 
int32_t older_than_nanos
 
int32_t has_delete_unverified
 
bool delete_unverified
 
int32_t has_error_if_tagged_old_versions
 
bool error_if_tagged_old_versions
 

Detailed Description

Relative-duration cleanup options for lance_dataset_cleanup_old_versions.

older_than_seconds + older_than_nanos / 1000000000 is converted to the native chrono::TimeDelta range without narrowing through signed 64-bit nanoseconds. Both components carry the sign; older_than_nanos must be in [-999999999, 999999999]. This entry point calls Dataset::cleanup_old_versions, so Lance owns the time cutoff. The optional booleans use independent presence flags; leaving them unset preserves native defaults.

Definition at line 586 of file lance.h.

Member Data Documentation

◆ delete_unverified

bool LanceCleanupOldVersionsOptions::delete_unverified

Definition at line 590 of file lance.h.

◆ error_if_tagged_old_versions

bool LanceCleanupOldVersionsOptions::error_if_tagged_old_versions

Definition at line 592 of file lance.h.

◆ has_delete_unverified

int32_t LanceCleanupOldVersionsOptions::has_delete_unverified

Definition at line 589 of file lance.h.

◆ has_error_if_tagged_old_versions

int32_t LanceCleanupOldVersionsOptions::has_error_if_tagged_old_versions

Definition at line 591 of file lance.h.

◆ older_than_nanos

int32_t LanceCleanupOldVersionsOptions::older_than_nanos

Definition at line 588 of file lance.h.

◆ older_than_seconds

int64_t LanceCleanupOldVersionsOptions::older_than_seconds

Definition at line 587 of file lance.h.


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