| 1567 | } |
| 1568 | |
| 1569 | DictionaryType::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 | |
| 1578 | DataTypeLayout DictionaryType::layout() const { |
| 1579 | auto layout = index_type_->layout(); |
nothing calls this directly
no outgoing calls
no test coverage detected