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::ArrayVector Struct Reference

Static Public Member Functions

static DUCKDB_API const Vector & GetEntry (const Vector &vector)
 Gets a reference to the underlying child-vector of an array.
static DUCKDB_API Vector & GetEntry (Vector &vector)
 Gets a reference to the underlying child-vector of an array.
static DUCKDB_API idx_t GetTotalSize (const Vector &vector)
 Gets the total size of the underlying child-vector of an array.

Static Private Member Functions

template<class T>
static T & GetEntryInternal (T &vector)

Member Function Documentation

◆ GetEntry() [1/2]

const Vector & duckdb::ArrayVector::GetEntry ( const Vector & vector)
static

Gets a reference to the underlying child-vector of an array.

138574 {
138575 return GetEntryInternal<const Vector>(vector);
138576}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEntry() [2/2]

Vector & duckdb::ArrayVector::GetEntry ( Vector & vector)
static

Gets a reference to the underlying child-vector of an array.

138578 {
138579 return GetEntryInternal<Vector>(vector);
138580}
Here is the call graph for this function:

◆ GetTotalSize()

idx_t duckdb::ArrayVector::GetTotalSize ( const Vector & vector)
static

Gets the total size of the underlying child-vector of an array.

138582 {
138583 D_ASSERT(vector.GetType().id() == LogicalTypeId::ARRAY);
138584 D_ASSERT(vector.auxiliary);
138585 if (vector.GetVectorType() == VectorType::DICTIONARY_VECTOR) {
138586 auto &child = DictionaryVector::Child(vector);
138587 return ArrayVector::GetTotalSize(child);
138588 }
138589 return vector.auxiliary->Cast<VectorArrayBuffer>().GetChildSize();
138590}
static DUCKDB_API idx_t GetTotalSize(const Vector &vector)
Gets the total size of the underlying child-vector of an array.
Definition duckdb.cpp:138582
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEntryInternal()

template<class T>
T & duckdb::ArrayVector::GetEntryInternal ( T & vector)
staticprivate
138561 {
138562 D_ASSERT(vector.GetType().id() == LogicalTypeId::ARRAY);
138563 if (vector.GetVectorType() == VectorType::DICTIONARY_VECTOR) {
138564 auto &child = DictionaryVector::Child(vector);
138565 return ArrayVector::GetEntry(child);
138566 }
138567 D_ASSERT(vector.GetVectorType() == VectorType::FLAT_VECTOR ||
138568 vector.GetVectorType() == VectorType::CONSTANT_VECTOR);
138569 D_ASSERT(vector.auxiliary);
138570 D_ASSERT(vector.auxiliary->GetBufferType() == VectorBufferType::ARRAY_BUFFER);
138571 return vector.auxiliary->template Cast<VectorArrayBuffer>().GetChild();
138572}
static DUCKDB_API const Vector & GetEntry(const Vector &vector)
Gets a reference to the underlying child-vector of an array.
Definition duckdb.cpp:138574

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