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

#include <lance/detail/declarations.hpp>

Static Public Member Functions

static SessionCacheSpec default_cache ()
 
static SessionCacheSpec with_size (uint64_t capacity_bytes)
 
static SessionCacheSpec from_uri (std::string uri)
 
static SessionCacheSpec from_config (std::string backend_kind, std::vector< std::pair< std::string, std::string > > backend_options={})
 

Public Attributes

SessionCacheSpecKind kind = SessionCacheSpecKind::Default
 
uint64_t size_bytes = 0
 
std::string backend_uri
 
std::string backend_kind
 
std::vector< std::pair< std::string, std::string > > backend_options
 

Detailed Description

Cache selection for one session cache tier. default_cache() uses the native tier default; with_size(0) requests an explicit zero capacity.

Definition at line 2028 of file declarations.hpp.

Member Function Documentation

◆ default_cache()

static SessionCacheSpec lance::SessionCacheSpec::default_cache ( )
static

◆ from_config()

static SessionCacheSpec lance::SessionCacheSpec::from_config ( std::string backend_kind,
std::vector< std::pair< std::string, std::string > > backend_options = {} )
static

◆ from_uri()

static SessionCacheSpec lance::SessionCacheSpec::from_uri ( std::string uri)
static

◆ with_size()

static SessionCacheSpec lance::SessionCacheSpec::with_size ( uint64_t capacity_bytes)
static

Member Data Documentation

◆ backend_kind

std::string lance::SessionCacheSpec::backend_kind

Definition at line 2032 of file declarations.hpp.

◆ backend_options

std::vector<std::pair<std::string, std::string> > lance::SessionCacheSpec::backend_options

Definition at line 2033 of file declarations.hpp.

◆ backend_uri

std::string lance::SessionCacheSpec::backend_uri

Definition at line 2031 of file declarations.hpp.

◆ kind

SessionCacheSpecKind lance::SessionCacheSpec::kind = SessionCacheSpecKind::Default

Definition at line 2029 of file declarations.hpp.

◆ size_bytes

uint64_t lance::SessionCacheSpec::size_bytes = 0

Definition at line 2030 of file declarations.hpp.


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