|
|
AttachedDatabase & | db |
| | The database instance of the table.
|
|
shared_ptr< TableIOManager > | table_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< IndexStorageInfo > | index_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.
|
◆ DataTableInfo()
411374}
shared_ptr< TableIOManager > table_io_manager
The table IO manager.
Definition duckdb.hpp:50394
string schema
The schema of the table.
Definition duckdb.hpp:50398
AttachedDatabase & db
The database instance of the table.
Definition duckdb.hpp:50392
string table
The name of the table.
Definition duckdb.hpp:50400
◆ 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.
411376 {
411378}
TableIndexList indexes
The physical list of indexes of this table.
Definition duckdb.hpp:50402
◆ IsTemporary()
| bool duckdb::DataTableInfo::IsTemporary |
( |
| ) |
const |
Whether or not the table is temporary.
411380 {
411381 return db.IsTemporary();
411382}
◆ GetDB()
◆ GetIOManager()
◆ GetIndexes()
◆ ExtractIndexStorageInfo()
| IndexStorageInfo duckdb::DataTableInfo::ExtractIndexStorageInfo |
( |
const string & | name | ) |
|
Find and move out an IndexStorageInfo by name from the stored collection.
411384 {
411389 return result;
411390 }
411391 }
411392 throw InternalException("ExtractIndexStorageInfo: index storage info with name '%s' not found", name);
411393}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
vector< IndexStorageInfo > index_storage_infos
Index storage information of the indexes created by this table.
Definition duckdb.hpp:50404
◆ GetSharedLock()
50379 {
50381 }
StorageLock checkpoint_lock
Lock held while checkpointing.
Definition duckdb.hpp:50406
◆ AppendRequiresNewRowGroup()
412498 {
412499 if (checkpoint_id == MAX_TRANSACTION_ID) {
412500
412501 return false;
412502 }
412503 auto current_segment_count = collection.GetSegmentCount();
412505
412506
412508 }
412509
412510
412513 return true;
412514}
optional_idx last_seen_checkpoint
The last seen checkpoint while doing a concurrent operation, if any.
Definition duckdb.hpp:50408
optional_idx checkpoint_row_group_count
The amount of row groups the checkpoint is processing.
Definition duckdb.hpp:50410
◆ CheckpointRowGroupCount()
412516 {
412518 return optional_idx();
412519 }
412521}
◆ VerifyIndexBuffers()
| void duckdb::DataTableInfo::VerifyIndexBuffers |
( |
| ) |
|
411757 {
411758 for (
auto &entry :
indexes.IndexEntries()) {
411759 auto &
index = *entry.index;
411760 if (
index.IsBound()) {
411761 index.Cast<BoundIndex>().VerifyBuffers();
411762 }
411763 if (entry.deleted_rows_in_use) {
411764 entry.deleted_rows_in_use->VerifyBuffers();
411765 }
411766 }
411767}
◆ GetSchemaName()
| string duckdb::DataTableInfo::GetSchemaName |
( |
| ) |
|
◆ GetTableName()
| string duckdb::DataTableInfo::GetTableName |
( |
| ) |
|
411781 {
411784}
mutex name_lock
Lock for modifying the name.
Definition duckdb.hpp:50396
◆ SetTableName()
| void duckdb::DataTableInfo::SetTableName |
( |
string | name | ) |
|
411786 {
411788 table = std::move(name);
411789}
The documentation for this struct was generated from the following files: