Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::DataTableInfo Struct Reference
Collaboration diagram for duckdb::DataTableInfo:

Public Member Functions

 DataTableInfo (AttachedDatabase &db, shared_ptr< TableIOManager > table_io_manager_p, string schema, string table)
 
void BindIndexes (ClientContext &context, const char *index_type=nullptr)
 
bool IsTemporary () const
 Whether or not the table is temporary.
 
AttachedDatabaseGetDB ()
 
TableIOManagerGetIOManager ()
 
TableIndexListGetIndexes ()
 
IndexStorageInfo ExtractIndexStorageInfo (const string &name)
 Find and move out an IndexStorageInfo by name from the stored collection.
 
unique_ptr< StorageLockKeyGetSharedLock ()
 
bool AppendRequiresNewRowGroup (RowGroupCollection &collection, transaction_t checkpoint_id)
 
optional_idx CheckpointRowGroupCount (const CheckpointOptions &options) const
 
void VerifyIndexBuffers ()
 
string GetSchemaName ()
 
string GetTableName ()
 
void SetTableName (string name)
 

Private Attributes

AttachedDatabasedb
 The database instance of the table.
 
shared_ptr< TableIOManagertable_io_manager
 The table IO manager.
 
mutex name_lock
 Lock for modifying the name.
 
string schema
 The schema of the table.
 
string table
 The name of the table.
 
TableIndexList indexes
 The physical list of indexes of this table.
 
vector< IndexStorageInfoindex_storage_infos
 Index storage information of the indexes created by this table.
 
StorageLock checkpoint_lock
 Lock held while checkpointing.
 
optional_idx last_seen_checkpoint
 The last seen checkpoint while doing a concurrent operation, if any.
 
optional_idx checkpoint_row_group_count
 The amount of row groups the checkpoint is processing.
 

Friends

class DataTable
 

Member Function Documentation

◆ BindIndexes()

void duckdb::DataTableInfo::BindIndexes ( ClientContext context,
const char index_type = nullptr 
)

Bind unknown indexes throwing an exception if binding fails. Only binds the specified index type, or all, if nullptr.

◆ GetDB()

AttachedDatabase & duckdb::DataTableInfo::GetDB ( )
inline
50366 {
50367 return db;
50368 }
AttachedDatabase & db
The database instance of the table.
Definition duckdb.hpp:50392

◆ GetIOManager()

TableIOManager & duckdb::DataTableInfo::GetIOManager ( )
inline
50370 {
50371 return *table_io_manager;
50372 }
shared_ptr< TableIOManager > table_io_manager
The table IO manager.
Definition duckdb.hpp:50394

◆ GetIndexes()

TableIndexList & duckdb::DataTableInfo::GetIndexes ( )
inline
50374 {
50375 return indexes;
50376 }
TableIndexList indexes
The physical list of indexes of this table.
Definition duckdb.hpp:50402

◆ GetSharedLock()

unique_ptr< StorageLockKey > duckdb::DataTableInfo::GetSharedLock ( )
inline
50379 {
50381 }
unique_ptr< StorageLockKey > GetSharedLock()
Get a shared lock.
StorageLock checkpoint_lock
Lock held while checkpointing.
Definition duckdb.hpp:50406

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