◆ VerifyDictionary()
10854 {
10855#ifdef DUCKDB_DEBUG_NO_SAFETY
10856 D_ASSERT(vector.GetVectorType() == VectorType::DICTIONARY_VECTOR);
10857#else
10858 if (vector.GetVectorType() != VectorType::DICTIONARY_VECTOR) {
10859 throw InternalException(
10860 "Operation requires a dictionary vector but a non-dictionary vector was encountered");
10861 }
10862#endif
10863 }
◆ SelVector() [1/2]
10864 {
10865 VerifyDictionary(vector);
10866 return vector.buffer->Cast<DictionaryBuffer>().GetSelVector();
10867 }
◆ SelVector() [2/2]
10868 {
10869 VerifyDictionary(vector);
10870 return vector.buffer->Cast<DictionaryBuffer>().GetSelVector();
10871 }
◆ Child() [1/2]
10872 {
10873 VerifyDictionary(vector);
10874 return vector.auxiliary->Cast<VectorChildBuffer>().data;
10875 }
◆ Child() [2/2]
10876 {
10877 VerifyDictionary(vector);
10878 return vector.auxiliary->Cast<VectorChildBuffer>().data;
10879 }
◆ DictionarySize()
10880 {
10881 VerifyDictionary(vector);
10882 const auto &child_buffer = vector.auxiliary->Cast<VectorChildBuffer>();
10883 if (child_buffer.size.IsValid()) {
10884 return child_buffer.size;
10885 }
10886 return vector.buffer->Cast<DictionaryBuffer>().GetDictionarySize();
10887 }
◆ DictionaryId()
10888 {
10889 VerifyDictionary(vector);
10890 const auto &child_buffer = vector.auxiliary->Cast<VectorChildBuffer>();
10891 if (!child_buffer.id.empty()) {
10892 return child_buffer.id;
10893 }
10894 return vector.buffer->Cast<DictionaryBuffer>().GetDictionaryId();
10895 }
◆ CanCacheHashes() [1/2]
10896 {
10898 }
@ VARCHAR
DuckDB Extensions.
◆ CanCacheHashes() [2/2]
10899 {
10900 return DictionarySize(vector).IsValid() && CanCacheHashes(vector.GetType());
10901 }
The documentation for this struct was generated from the following file: