|
|
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
|
|
|
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.
|
◆ 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 |
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 |
◆ GetInternalType()
| LogicalType duckdb::ArrowTypeExtensionData::GetInternalType |
( |
| ) |
const |
◆ GetExtensionTypes()
This function returns possible extension types to given DuckDB types.
239431 {
239432 unordered_map<idx_t, const shared_ptr<ArrowTypeExtensionData>> extension_types;
239433 const auto &db_config = DBConfig::GetConfig(context);
239434 for (
idx_t i = 0; i < duckdb_types.size(); i++) {
239435 if (db_config.HasArrowExtension(duckdb_types[i])) {
239436 extension_types.insert({i, db_config.GetArrowExtension(duckdb_types[i]).GetTypeExtension()});
239437 }
239438 }
239439 return extension_types;
239440}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ GetDuckDBType()
| LogicalType duckdb::ArrowTypeExtensionData::GetDuckDBType |
( |
| ) |
const |
The documentation for this class was generated from the following files: