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::TemporaryFileIdentifier Struct Reference
Collaboration diagram for duckdb::TemporaryFileIdentifier:

Public Member Functions

 TemporaryFileIdentifier (TemporaryBufferSize size, idx_t file_index)
 TemporaryFileIdentifier (DatabaseInstance &db, TemporaryBufferSize size, idx_t file_index, bool encrypted)
bool IsValid () const
 Whether this temporary file identifier is valid (fields have been set).

Public Attributes

TemporaryBufferSize size
 The size of the buffers within the temp file.
optional_idx file_index
 The index of the temp file.
bool encrypted = false

Constructor & Destructor Documentation

◆ TemporaryFileIdentifier() [1/3]

duckdb::TemporaryFileIdentifier::TemporaryFileIdentifier ( )
442731 : size(TemporaryBufferSize::INVALID) {
442732}
TemporaryBufferSize size
The size of the buffers within the temp file.
Definition duckdb.cpp:61547

◆ TemporaryFileIdentifier() [2/3]

duckdb::TemporaryFileIdentifier::TemporaryFileIdentifier ( TemporaryBufferSize size,
idx_t file_index )
442735 : size(size_p), file_index(file_index_p) {
442736}
optional_idx file_index
The index of the temp file.
Definition duckdb.cpp:61549

◆ TemporaryFileIdentifier() [3/3]

duckdb::TemporaryFileIdentifier::TemporaryFileIdentifier ( DatabaseInstance & db,
TemporaryBufferSize size,
idx_t file_index,
bool encrypted )
442740 : size(size_p), file_index(file_index_p), encrypted(encrypted_p) {
442741 if (encrypted) {
442742 // generate a random encryption key ID and corresponding key
442744 }
442745}
static void AddTempKeyToCache(DatabaseInstance &db)
Definition duckdb.cpp:51922

Member Function Documentation

◆ IsValid()

bool duckdb::TemporaryFileIdentifier::IsValid ( ) const

Whether this temporary file identifier is valid (fields have been set).

442747 {
442748 return size != TemporaryBufferSize::INVALID && file_index.IsValid();
442749}
Here is the caller graph for this function:

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