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

Owned copy of native MemWAL index details. More...

#include <lance/detail/declarations.hpp>

Public Member Functions

 MemWalIndexDetails (uint32_t num_shards, bool maintain_all, std::vector< std::string > maintained, std::vector< ShardingSpec > specs, std::map< std::string, std::string > defaults, std::string dir_id={})
 
 MemWalIndexDetails (MemWalIndexDetails &&) noexcept=default
 
MemWalIndexDetails & operator= (MemWalIndexDetails &&) noexcept=default
 
 MemWalIndexDetails (const MemWalIndexDetails &)=delete
 
MemWalIndexDetails & operator= (const MemWalIndexDetails &)=delete
 
const std::string & dir_id () const
 
uint32_t num_shards () const
 
bool maintain_all_indexes () const
 
const std::vector< std::string > & maintained_indexes () const
 
const std::map< std::string, std::string > & writer_config_defaults () const
 
size_t sharding_spec_count () const
 
ShardingSpec sharding_spec_at (size_t index) const
 
std::vector< ShardingSpec > sharding_specs () const
 

Detailed Description

Owned copy of native MemWAL index details.

Definition at line 3625 of file declarations.hpp.

Constructor & Destructor Documentation

◆ MemWalIndexDetails() [1/3]

lance::MemWalIndexDetails::MemWalIndexDetails ( uint32_t num_shards,
bool maintain_all,
std::vector< std::string > maintained,
std::vector< ShardingSpec > specs,
std::map< std::string, std::string > defaults,
std::string dir_id = {} )

◆ MemWalIndexDetails() [2/3]

lance::MemWalIndexDetails::MemWalIndexDetails ( MemWalIndexDetails && )
defaultnoexcept

◆ MemWalIndexDetails() [3/3]

lance::MemWalIndexDetails::MemWalIndexDetails ( const MemWalIndexDetails & )
delete

Member Function Documentation

◆ dir_id()

const std::string & lance::MemWalIndexDetails::dir_id ( ) const

Directory identifier of this MemWAL. Empty denotes the legacy _mem_wal directory.

◆ maintain_all_indexes()

bool lance::MemWalIndexDetails::maintain_all_indexes ( ) const

◆ maintained_indexes()

const std::vector< std::string > & lance::MemWalIndexDetails::maintained_indexes ( ) const

◆ num_shards()

uint32_t lance::MemWalIndexDetails::num_shards ( ) const

◆ operator=() [1/2]

MemWalIndexDetails & lance::MemWalIndexDetails::operator= ( const MemWalIndexDetails & )
delete

◆ operator=() [2/2]

MemWalIndexDetails & lance::MemWalIndexDetails::operator= ( MemWalIndexDetails && )
defaultnoexcept

◆ sharding_spec_at()

ShardingSpec lance::MemWalIndexDetails::sharding_spec_at ( size_t index) const

◆ sharding_spec_count()

size_t lance::MemWalIndexDetails::sharding_spec_count ( ) const

◆ sharding_specs()

std::vector< ShardingSpec > lance::MemWalIndexDetails::sharding_specs ( ) const

◆ writer_config_defaults()

const std::map< std::string, std::string > & lance::MemWalIndexDetails::writer_config_defaults ( ) const

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