◆ ArrowTypeInfo()
| duckdb::ArrowTypeInfo::ArrowTypeInfo |
( |
| ) |
|
|
inlineexplicit |
◆ Cast() [1/2]
| TARGET & duckdb::ArrowTypeInfo::Cast |
( |
| ) |
|
|
inline |
37517 {
37518 D_ASSERT(dynamic_cast<TARGET *>(this));
37519 if (type != TARGET::TYPE) {
37520 throw InternalException("Failed to cast ArrowTypeInfo, type mismatch (expected: %s, got: %s)",
37521 EnumUtil::ToString(TARGET::TYPE), EnumUtil::ToString(type));
37522 }
37523 return reinterpret_cast<TARGET &>(*this);
37524 }
◆ Cast() [2/2]
37526 {
37527 D_ASSERT(dynamic_cast<const TARGET *>(this));
37528 if (type != TARGET::TYPE) {
37529 throw InternalException("Failed to cast ArrowTypeInfo, type mismatch (expected: %s, got: %s)",
37530 EnumUtil::ToString(TARGET::TYPE), EnumUtil::ToString(type));
37531 }
37532 return reinterpret_cast<const TARGET &>(*this);
37533 }
The documentation for this struct was generated from the following file: