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::ArrowTypeExtensionData Class Reference
Collaboration diagram for duckdb::ArrowTypeExtensionData:

Public Member Functions

 ArrowTypeExtensionData (const LogicalType &duckdb_type, const LogicalType &internal_type_p, cast_arrow_duck_t arrow_to_duckdb=nullptr, cast_duck_arrow_t duckdb_to_arrow=nullptr)
 
 ArrowTypeExtensionData (const LogicalType &duckdb_type)
 
LogicalType GetInternalType () const
 
LogicalType GetDuckDBType () const
 

Static Public Member Functions

static unordered_map< idx_t, const shared_ptr< ArrowTypeExtensionData > > GetExtensionTypes (ClientContext &context, const vector< LogicalType > &duckdb_types)
 This function returns possible extension types to given DuckDB types.
 

Public Attributes

cast_arrow_duck_t arrow_to_duckdb = nullptr
 (Optional) Callback to function that converts an Arrow Array to a DuckDB Vector
 
cast_duck_arrow_t duckdb_to_arrow = nullptr
 (Optional) Callback to function that converts a DuckDB Vector to an Arrow Array
 

Private Attributes

LogicalType duckdb_type
 Original DuckDB Type (e.g., UHUGEINT)
 
LogicalType internal_type
 Internal type is a type that refers to the produced duckdb vector when consuming the arrow format.
 

Constructor & Destructor Documentation

◆ ArrowTypeExtensionData() [1/2]

duckdb::ArrowTypeExtensionData::ArrowTypeExtensionData ( const LogicalType duckdb_type,
const LogicalType internal_type_p,
cast_arrow_duck_t  arrow_to_duckdb = nullptr,
cast_duck_arrow_t  duckdb_to_arrow = nullptr 
)
inlineexplicit
37662 internal_type(internal_type_p) {
37663 }
cast_duck_arrow_t duckdb_to_arrow
(Optional) Callback to function that converts a DuckDB Vector to an Arrow Array
Definition duckdb.hpp:37672
LogicalType internal_type
Internal type is a type that refers to the produced duckdb vector when consuming the arrow format.
Definition duckdb.hpp:37685
cast_arrow_duck_t arrow_to_duckdb
(Optional) Callback to function that converts an Arrow Array to a DuckDB Vector
Definition duckdb.hpp:37670
LogicalType duckdb_type
Original DuckDB Type (e.g., UHUGEINT)
Definition duckdb.hpp:37683

◆ ArrowTypeExtensionData() [2/2]

duckdb::ArrowTypeExtensionData::ArrowTypeExtensionData ( const LogicalType duckdb_type)
inlineexplicit
37666 : duckdb_type(duckdb_type), internal_type(duckdb_type) {
37667 }

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