◆ VerifyVectorType()
10797 {
10798#ifdef DUCKDB_DEBUG_NO_SAFETY
10799 D_ASSERT(StorageTypeCompatible<T>(vector.GetType().InternalType()));
10800#else
10801 if (!StorageTypeCompatible<T>(vector.GetType().InternalType())) {
10802 throw InternalException("Expected vector of type %s, but found vector of type %s", GetTypeId<T>(),
10803 vector.GetType().InternalType());
10804 }
10805#endif
10806 }
◆ GetData() [1/4]
10808 {
10809 D_ASSERT(vector.GetVectorType() == VectorType::CONSTANT_VECTOR ||
10810 vector.GetVectorType() == VectorType::FLAT_VECTOR);
10811 return vector.data;
10812 }
◆ GetData() [2/4]
| static data_ptr_t duckdb::ConstantVector::GetData |
( |
Vector & |
vector | ) |
|
|
inlinestatic |
10813 {
10814 D_ASSERT(vector.GetVectorType() == VectorType::CONSTANT_VECTOR ||
10815 vector.GetVectorType() == VectorType::FLAT_VECTOR);
10816 return vector.data;
10817 }
◆ GetDataUnsafe() [1/2]
10819 {
10820 return reinterpret_cast<const T *>(GetData(vector));
10821 }
◆ GetDataUnsafe() [2/2]
| static T * duckdb::ConstantVector::GetDataUnsafe |
( |
Vector & |
vector | ) |
|
|
inlinestatic |
10823 {
10824 return reinterpret_cast<T *>(GetData(vector));
10825 }
◆ GetData() [3/4]
10827 {
10828 VerifyVectorType<T>(vector);
10829 return GetDataUnsafe<T>(vector);
10830 }
◆ GetData() [4/4]
| static T * duckdb::ConstantVector::GetData |
( |
Vector & |
vector | ) |
|
|
inlinestatic |
10832 {
10833 VerifyVectorType<T>(vector);
10834 return GetDataUnsafe<T>(vector);
10835 }
◆ IsNull()
10836 {
10837 D_ASSERT(vector.GetVectorType() == VectorType::CONSTANT_VECTOR);
10838 return !vector.validity.RowIsValid(0);
10839 }
◆ Validity()
10841 {
10842 D_ASSERT(vector.GetVectorType() == VectorType::CONSTANT_VECTOR);
10843 return vector.validity;
10844 }
The documentation for this struct was generated from the following file: