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

#include <lance/detail/declarations.hpp>

Public Types

using Fetch = std::function<std::optional<StorageOptions>()>
 

Public Member Functions

 StorageOptionsProvider (std::string provider_id, Fetch fetch, Fetch force_fetch={})
 
const LanceStorageOptionsProvider * c_handle () const
 
std::string provider_id () const
 

Static Public Member Functions

static StorageOptionsProvider from_namespace (const Namespace &ns, const std::vector< std::string > &table_id)
 

Detailed Description

Definition at line 1913 of file declarations.hpp.

Member Typedef Documentation

◆ Fetch

using lance::StorageOptionsProvider::Fetch = std::function<std::optional<StorageOptions>()>

Definition at line 1919 of file declarations.hpp.

Constructor & Destructor Documentation

◆ StorageOptionsProvider()

lance::StorageOptionsProvider::StorageOptionsProvider ( std::string provider_id,
Fetch fetch,
Fetch force_fetch = {} )

Member Function Documentation

◆ c_handle()

const LanceStorageOptionsProvider * lance::StorageOptionsProvider::c_handle ( ) const

◆ from_namespace()

static StorageOptionsProvider lance::StorageOptionsProvider::from_namespace ( const Namespace & ns,
const std::vector< std::string > & table_id )
static

Create a provider backed by a native namespace. The provider retains the namespace, so it may outlive this C++ handle. table_id is the native table path; every component is borrowed only for this call.

◆ provider_id()

std::string lance::StorageOptionsProvider::provider_id ( ) const

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