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

#include <lance/detail/declarations.hpp>

Public Member Functions

 Session (const SessionCacheSpec &index_cache, const SessionCacheSpec &metadata_cache)
 
 Session (uint64_t index_cache_size_bytes, uint64_t metadata_cache_size_bytes)
 
LanceSessionCacheStats cache_stats () const
 
uint64_t size_bytes () const
 Current deep size of the session in bytes. This is not an RSS limit.
 
uint64_t approx_num_items () const
 Approximate number of items retained in both cache tiers.
 
const LanceSession * c_handle () const
 

Detailed Description

Definition at line 2046 of file declarations.hpp.

Constructor & Destructor Documentation

◆ Session() [1/2]

lance::Session::Session ( const SessionCacheSpec & index_cache,
const SessionCacheSpec & metadata_cache )

Configure each cache tier independently. The spec values and their string buffers are consumed during construction.

◆ Session() [2/2]

lance::Session::Session ( uint64_t index_cache_size_bytes,
uint64_t metadata_cache_size_bytes )

Member Function Documentation

◆ approx_num_items()

uint64_t lance::Session::approx_num_items ( ) const

Approximate number of items retained in both cache tiers.

◆ c_handle()

const LanceSession * lance::Session::c_handle ( ) const

◆ cache_stats()

LanceSessionCacheStats lance::Session::cache_stats ( ) const

◆ size_bytes()

uint64_t lance::Session::size_bytes ( ) const

Current deep size of the session in bytes. This is not an RSS limit.


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