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

Static Public Member Functions

static DUCKDB_API Vector & GetKeys (Vector &vec)
 Gets a reference to the 'keys' list (dictionary) of a Variant.
static DUCKDB_API Vector & GetKeys (const Vector &vec)
static DUCKDB_API Vector & GetChildren (Vector &vec)
 Gets a reference to the 'children' list of a Variant.
static DUCKDB_API Vector & GetChildren (const Vector &vec)
static DUCKDB_API Vector & GetChildrenKeysIndex (Vector &vec)
 Gets a reference to the 'keys_index' inside the 'children' list of a Variant.
static DUCKDB_API Vector & GetChildrenKeysIndex (const Vector &vec)
static DUCKDB_API Vector & GetChildrenValuesIndex (Vector &vec)
 Gets a reference to the 'values_index' inside the 'children' list of a Variant.
static DUCKDB_API Vector & GetChildrenValuesIndex (const Vector &vec)
static DUCKDB_API Vector & GetValues (Vector &vec)
 Gets a reference to the 'values' list of a Variant.
static DUCKDB_API Vector & GetValues (const Vector &vec)
static DUCKDB_API Vector & GetValuesTypeId (Vector &vec)
 Gets a reference to the 'type_id' inside the 'values' list of a Variant.
static DUCKDB_API Vector & GetValuesTypeId (const Vector &vec)
static DUCKDB_API Vector & GetValuesByteOffset (Vector &vec)
 Gets a reference to the 'byte_offset' inside the 'values' list of a Variant.
static DUCKDB_API Vector & GetValuesByteOffset (const Vector &vec)
static DUCKDB_API Vector & GetData (Vector &vec)
 Gets a reference to the binary blob 'value', which encodes the data of the row.
static DUCKDB_API Vector & GetData (const Vector &vec)

Member Function Documentation

◆ GetKeys() [1/2]

Vector & duckdb::VariantVector::GetKeys ( Vector & vec)
static

Gets a reference to the 'keys' list (dictionary) of a Variant.

138595 {
138596 return *StructVector::GetEntries(vec)[0];
138597}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetKeys() [2/2]

Vector & duckdb::VariantVector::GetKeys ( const Vector & vec)
static
138598 {
138599 return *StructVector::GetEntries(vec)[0];
138600}

◆ GetChildren() [1/2]

Vector & duckdb::VariantVector::GetChildren ( Vector & vec)
static

Gets a reference to the 'children' list of a Variant.

138602 {
138603 return *StructVector::GetEntries(vec)[1];
138604}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetChildren() [2/2]

Vector & duckdb::VariantVector::GetChildren ( const Vector & vec)
static
138605 {
138606 return *StructVector::GetEntries(vec)[1];
138607}

◆ GetChildrenKeysIndex() [1/2]

Vector & duckdb::VariantVector::GetChildrenKeysIndex ( Vector & vec)
static

Gets a reference to the 'keys_index' inside the 'children' list of a Variant.

138609 {
138610 auto &children = ListVector::GetEntry(GetChildren(vec));
138611 return *StructVector::GetEntries(children)[0];
138612}
static DUCKDB_API const Vector & GetEntry(const Vector &vector)
Gets a reference to the underlying child-vector of a list.
Definition duckdb.cpp:138203
static DUCKDB_API Vector & GetChildren(Vector &vec)
Gets a reference to the 'children' list of a Variant.
Definition duckdb.cpp:138602
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetChildrenKeysIndex() [2/2]

Vector & duckdb::VariantVector::GetChildrenKeysIndex ( const Vector & vec)
static
138613 {
138614 auto &children = ListVector::GetEntry(GetChildren(vec));
138615 return *StructVector::GetEntries(children)[0];
138616}

◆ GetChildrenValuesIndex() [1/2]

Vector & duckdb::VariantVector::GetChildrenValuesIndex ( Vector & vec)
static

Gets a reference to the 'values_index' inside the 'children' list of a Variant.

138618 {
138619 auto &children = ListVector::GetEntry(GetChildren(vec));
138620 return *StructVector::GetEntries(children)[1];
138621}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetChildrenValuesIndex() [2/2]

Vector & duckdb::VariantVector::GetChildrenValuesIndex ( const Vector & vec)
static
138622 {
138623 auto &children = ListVector::GetEntry(GetChildren(vec));
138624 return *StructVector::GetEntries(children)[1];
138625}

◆ GetValues() [1/2]

Vector & duckdb::VariantVector::GetValues ( Vector & vec)
static

Gets a reference to the 'values' list of a Variant.

138627 {
138628 return *StructVector::GetEntries(vec)[2];
138629}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetValues() [2/2]

Vector & duckdb::VariantVector::GetValues ( const Vector & vec)
static
138630 {
138631 return *StructVector::GetEntries(vec)[2];
138632}

◆ GetValuesTypeId() [1/2]

Vector & duckdb::VariantVector::GetValuesTypeId ( Vector & vec)
static

Gets a reference to the 'type_id' inside the 'values' list of a Variant.

138634 {
138635 auto &values = ListVector::GetEntry(GetValues(vec));
138636 return *StructVector::GetEntries(values)[0];
138637}
static DUCKDB_API Vector & GetValues(Vector &vec)
Gets a reference to the 'values' list of a Variant.
Definition duckdb.cpp:138627
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetValuesTypeId() [2/2]

Vector & duckdb::VariantVector::GetValuesTypeId ( const Vector & vec)
static
138638 {
138639 auto &values = ListVector::GetEntry(GetValues(vec));
138640 return *StructVector::GetEntries(values)[0];
138641}

◆ GetValuesByteOffset() [1/2]

Vector & duckdb::VariantVector::GetValuesByteOffset ( Vector & vec)
static

Gets a reference to the 'byte_offset' inside the 'values' list of a Variant.

138643 {
138644 auto &values = ListVector::GetEntry(GetValues(vec));
138645 return *StructVector::GetEntries(values)[1];
138646}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetValuesByteOffset() [2/2]

Vector & duckdb::VariantVector::GetValuesByteOffset ( const Vector & vec)
static
138647 {
138648 auto &values = ListVector::GetEntry(GetValues(vec));
138649 return *StructVector::GetEntries(values)[1];
138650}

◆ GetData() [1/2]

Vector & duckdb::VariantVector::GetData ( Vector & vec)
static

Gets a reference to the binary blob 'value', which encodes the data of the row.

138652 {
138653 return *StructVector::GetEntries(vec)[3];
138654}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetData() [2/2]

Vector & duckdb::VariantVector::GetData ( const Vector & vec)
static
138655 {
138656 return *StructVector::GetEntries(vec)[3];
138657}

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