MCPcopy Create free account
hub / github.com/apache/arrow / DictionaryArray

Method DictionaryArray

cpp/src/arrow/array/array_dict.cc:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81DictionaryArray::DictionaryArray(const std::shared_ptr<ArrayData>& data)
82 : dict_type_(checked_cast<const DictionaryType*>(data->type.get())) {
83 ARROW_CHECK_EQ(data->type->id(), Type::DICTIONARY);
84 ARROW_CHECK_NE(data->dictionary, nullptr);
85 SetData(data);
86}
87
88void DictionaryArray::SetData(const std::shared_ptr<ArrayData>& data) {
89 this->Array::SetData(data);

Callers

nothing calls this directly

Calls 10

index_typeMethod · 0.80
SetDataFunction · 0.70
getMethod · 0.45
idMethod · 0.45
type_idMethod · 0.45
value_typeMethod · 0.45
typeMethod · 0.45
EqualsMethod · 0.45
CopyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected