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

Public Member Functions

void AddColumn (idx_t index, shared_ptr< ArrowType > type, const string &name)
const arrow_column_map_t & GetColumns () const
vector< LogicalType > & GetTypes ()
vector< string > & GetNames ()

Private Attributes

arrow_column_map_t arrow_convert_data
vector< LogicalType > types
vector< string > column_names

Member Function Documentation

◆ AddColumn()

void duckdb::ArrowTableSchema::AddColumn ( idx_t index,
shared_ptr< ArrowType > type,
const string & name )
239011 {
239012 D_ASSERT(arrow_convert_data.find(index) == arrow_convert_data.end());
239013 if (index >= types.size()) {
239014 types.resize(index + 1);
239015 column_names.resize(index + 1);
239016 }
239017 types[index] = type->GetDuckType(true);
239018 column_names[index] = name;
239019 arrow_convert_data.emplace(std::make_pair(index, std::move(type)));
239020}
index

◆ GetColumns()

const arrow_column_map_t & duckdb::ArrowTableSchema::GetColumns ( ) const
239022 {
239023 return arrow_convert_data;
239024}

◆ GetTypes()

vector< LogicalType > & duckdb::ArrowTableSchema::GetTypes ( )
239025 {
239026 return types;
239027}

◆ GetNames()

vector< string > & duckdb::ArrowTableSchema::GetNames ( )
239029 {
239030 return column_names;
239031}

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