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

Static Public Member Functions

static const list_entry_tGetData (const Vector &v)
 
static list_entry_tGetData (Vector &v)
 
static DUCKDB_API const VectorGetEntry (const Vector &vector)
 Gets a reference to the underlying child-vector of a list.
 
static DUCKDB_API VectorGetEntry (Vector &vector)
 Gets a reference to the underlying child-vector of a list.
 
static DUCKDB_API idx_t GetListSize (const Vector &vector)
 Gets the total size of the underlying child-vector of a list.
 
static DUCKDB_API void SetListSize (Vector &vec, idx_t size)
 Sets the total size of the underlying child-vector of a list.
 
static DUCKDB_API idx_t GetListCapacity (const Vector &vector)
 Gets the total capacity of the underlying child-vector of a list.
 
static DUCKDB_API void Reserve (Vector &vec, idx_t required_capacity)
 Sets the total capacity of the underlying child-vector of a list.
 
static DUCKDB_API void Append (Vector &target, const Vector &source, idx_t source_size, idx_t source_offset=0)
 
static DUCKDB_API void Append (Vector &target, const Vector &source, const SelectionVector &sel, idx_t source_size, idx_t source_offset=0)
 
static DUCKDB_API void PushBack (Vector &target, const Value &insert)
 
static DUCKDB_API idx_t GetConsecutiveChildList (Vector &list, Vector &result, idx_t offset, idx_t count)
 Returns the child_vector of list starting at offset until offset + count, and its length.
 
static DUCKDB_API ConsecutiveChildListInfo GetConsecutiveChildListInfo (Vector &list, idx_t offset, idx_t count)
 Returns information to only copy a section of a list child vector.
 
static DUCKDB_API void GetConsecutiveChildSelVector (Vector &list, SelectionVector &sel, idx_t offset, idx_t count)
 Slice and flatten a child vector to only contain a consecutive subsection of the child entries.
 
static DUCKDB_API void ReferenceEntry (Vector &vector, Vector &other)
 Share the entry of the other list vector.
 

Static Private Member Functions

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

Member Function Documentation

◆ GetData() [1/2]

static const list_entry_t * duckdb::ListVector::GetData ( const Vector v)
inlinestatic
10966 {
10967 if (v.GetVectorType() == VectorType::DICTIONARY_VECTOR) {
10968 auto &child = DictionaryVector::Child(v);
10969 return GetData(child);
10970 }
10971 return FlatVector::GetData<const list_entry_t>(v);
10972 }
uint32_t v

◆ GetData() [2/2]

static list_entry_t * duckdb::ListVector::GetData ( Vector v)
inlinestatic
10973 {
10974 if (v.GetVectorType() == VectorType::DICTIONARY_VECTOR) {
10975 auto &child = DictionaryVector::Child(v);
10976 return GetData(child);
10977 }
10978 return FlatVector::GetData<list_entry_t>(v);
10979 }

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