◆ VerifyVectorType()
| void duckdb::UnifiedVectorFormat::VerifyVectorType |
( |
| ) |
const |
|
inline |
10509 {
10510#ifdef DUCKDB_DEBUG_NO_SAFETY
10511 D_ASSERT(StorageTypeCompatible<T>(physical_type));
10512#else
10513 if (!StorageTypeCompatible<T>(physical_type)) {
10514 throw InternalException("Expected unified vector format of type %s, but found type %s", GetTypeId<T>(),
10515 physical_type);
10516 }
10517#endif
10518 }
◆ GetDataUnsafe()
10521 {
10522 return reinterpret_cast<const T *>(format.data);
10523 }
◆ GetData() [1/2]
10525 {
10526 return format.GetData<T>();
10527 }
◆ GetData() [2/2]
| const T * duckdb::UnifiedVectorFormat::GetData |
( |
| ) |
const |
|
inline |
10529 {
10530 VerifyVectorType<T>();
10531 return GetDataUnsafe<T>(*this);
10532 }
◆ GetDataNoConst()
10534 {
10535 format.VerifyVectorType<T>();
10536 return reinterpret_cast<T *>(format.data);
10537 }
The documentation for this struct was generated from the following file: