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

Method DictionaryType

cpp/src/arrow/type.cc:1569–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1567}
1568
1569DictionaryType::DictionaryType(const std::shared_ptr<DataType>& index_type,
1570 const std::shared_ptr<DataType>& value_type, bool ordered)
1571 : FixedWidthType(Type::DICTIONARY),
1572 index_type_(index_type),
1573 value_type_(value_type),
1574 ordered_(ordered) {
1575 ARROW_CHECK_OK(ValidateParameters(*index_type_, *value_type_));
1576}
1577
1578DataTypeLayout DictionaryType::layout() const {
1579 auto layout = index_type_->layout();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected