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

#include <lance/detail/declarations.hpp>

Public Attributes

uint64_t version = 0
 
const StorageOptionsAccessor * storage_options_accessor = nullptr
 
std::optional< std::vector< DatasetBaseStoreParams > > base_store_params
 

Detailed Description

Additive options for Dataset::open_with_options.

Zero-initialization opens the latest version with native storage defaults. A NULL accessor selects native defaults; a non-NULL accessor is retained by the native dataset and later I/O uses its provider, refresh and error behavior. Static options belong in the accessor's initial options.

Definition at line 2001 of file declarations.hpp.

Member Data Documentation

◆ base_store_params

std::optional<std::vector<DatasetBaseStoreParams> > lance::DatasetOpenOptions::base_store_params

Optional per-base native ObjectStoreParams bindings for existing shared bases. std::nullopt selects native None (no bindings); an engaged empty vector selects native Some(empty), which also adds no bindings. Entries match exact BasePath.path keys from the manifest, not base ids or names, and an exact entry takes precedence over the dataset-level accessor. The bindings are runtime-only and are not persisted; reopening the dataset later must supply them again when the base needs them. The returned dataset retains the accessor Arcs, so the DatasetBaseStoreParams values and accessors may be destroyed after open_with_options returns.

Definition at line 2014 of file declarations.hpp.

◆ storage_options_accessor

const StorageOptionsAccessor* lance::DatasetOpenOptions::storage_options_accessor = nullptr

Definition at line 2003 of file declarations.hpp.

◆ version

uint64_t lance::DatasetOpenOptions::version = 0

Definition at line 2002 of file declarations.hpp.


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