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

The set of encoding functions. More...

Collaboration diagram for duckdb::ArrowTypeExtensionSet:

Static Public Member Functions

static void Initialize (const DBConfig &config)
 

Public Attributes

std::mutex lock
 
unordered_map< ArrowExtensionMetadata, ArrowTypeExtension, HashArrowTypeExtensiontype_extensions
 
unordered_map< TypeInfo, vector< ArrowExtensionMetadata >, HashTypeInfotype_to_info
 

Detailed Description

The set of encoding functions.

Constructor & Destructor Documentation

◆ ArrowTypeExtensionSet()

duckdb::ArrowTypeExtensionSet::ArrowTypeExtensionSet ( )
inline
37888{};

Member Function Documentation

◆ Initialize()

void duckdb::ArrowTypeExtensionSet::Initialize ( const DBConfig config)
static
45515 {
45516 // Types that are 1:1
45517 config.RegisterArrowExtension({"arrow.uuid", "w:16", make_shared_ptr<ArrowTypeExtensionData>(LogicalType::UUID)});
45518 config.RegisterArrowExtension(
45519 {"arrow.bool8", "c",
45520 make_shared_ptr<ArrowTypeExtensionData>(LogicalType::BOOLEAN, LogicalType::TINYINT, ArrowBool8::ArrowToDuck,
45521 ArrowBool8::DuckToArrow)});
45522
45523 config.RegisterArrowExtension(
45524 {"DuckDB", "hugeint", "w:16", make_shared_ptr<ArrowTypeExtensionData>(LogicalType::HUGEINT)});
45525 config.RegisterArrowExtension(
45526 {"DuckDB", "uhugeint", "w:16", make_shared_ptr<ArrowTypeExtensionData>(LogicalType::UHUGEINT)});
45527 config.RegisterArrowExtension(
45528 {"DuckDB", "time_tz", "w:8", make_shared_ptr<ArrowTypeExtensionData>(LogicalType::TIME_TZ)});
45529
45530 config.RegisterArrowExtension(
45531 {"geoarrow.wkb", ArrowGeometry::PopulateSchema, ArrowGeometry::GetType,
45532 make_shared_ptr<ArrowTypeExtensionData>(LogicalType::GEOMETRY(), LogicalType::BLOB, ArrowGeometry::ArrowToDuck,
45533 ArrowGeometry::DuckToArrow)});
45534
45535 // Types that are 1:n
45536 config.RegisterArrowExtension({"arrow.json", &ArrowJson::PopulateSchema, &ArrowJson::GetType,
45537 make_shared_ptr<ArrowTypeExtensionData>(LogicalType::JSON())});
45538
45539 config.RegisterArrowExtension({"DuckDB", "bit", &ArrowBit::PopulateSchema, &ArrowBit::GetType,
45540 make_shared_ptr<ArrowTypeExtensionData>(LogicalType::BIT), nullptr, nullptr});
45541
45542 config.RegisterArrowExtension({"DuckDB", "bignum", &ArrowBignum::PopulateSchema, &ArrowBignum::GetType,
45543 make_shared_ptr<ArrowTypeExtensionData>(LogicalType::BIGNUM), nullptr, nullptr});
45544}

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