◆ VerifyFlatVector()
10907 {
10908#ifdef DUCKDB_DEBUG_NO_SAFETY
10909 D_ASSERT(vector.GetVectorType() == VectorType::FLAT_VECTOR);
10910#else
10911 if (vector.GetVectorType() != VectorType::FLAT_VECTOR) {
10912 throw InternalException("Operation requires a flat vector but a non-flat vector was encountered");
10913 }
10914#endif
10915 }
◆ GetData() [1/3]
| static data_ptr_t duckdb::FlatVector::GetData |
( |
Vector & |
vector | ) |
|
|
inlinestatic |
10917 {
10918 return ConstantVector::GetData(vector);
10919 }
◆ GetData() [2/3]
10921 {
10922 return ConstantVector::GetData<T>(vector);
10923 }
◆ GetData() [3/3]
10925 {
10926 return ConstantVector::GetData<T>(vector);
10927 }
◆ GetDataUnsafe() [1/2]
10929 {
10930 return ConstantVector::GetDataUnsafe<T>(vector);
10931 }
◆ GetDataUnsafe() [2/2]
| static T * duckdb::FlatVector::GetDataUnsafe |
( |
Vector & |
vector | ) |
|
|
inlinestatic |
10933 {
10934 return ConstantVector::GetDataUnsafe<T>(vector);
10935 }
◆ SetData()
10936 {
10937 D_ASSERT(vector.GetVectorType() == VectorType::FLAT_VECTOR);
10938 vector.data = data;
10939 }
◆ GetValue()
10941 {
10942 D_ASSERT(vector.GetVectorType() == VectorType::FLAT_VECTOR);
10943 return FlatVector::GetData<T>(vector)[idx];
10944 }
◆ Validity() [1/2]
10945 {
10946 VerifyFlatVector(vector);
10947 return vector.validity;
10948 }
◆ Validity() [2/2]
10949 {
10950 VerifyFlatVector(vector);
10951 return vector.validity;
10952 }
◆ SetValidity()
10953 {
10954 VerifyFlatVector(vector);
10955 vector.validity.Initialize(new_validity);
10956 }
◆ IsNull()
10958 {
10959 D_ASSERT(vector.GetVectorType() == VectorType::FLAT_VECTOR);
10960 return !vector.validity.RowIsValid(idx);
10961 }
The documentation for this struct was generated from the following file: