\brief Append dictionary indices directly without modifying memo NOTE: Experimental API
| 680 | /// |
| 681 | /// NOTE: Experimental API |
| 682 | Status AppendIndices(const int64_t* values, int64_t length, |
| 683 | const uint8_t* valid_bytes = NULLPTR) { |
| 684 | int64_t null_count_before = this->indices_builder_.null_count(); |
| 685 | ARROW_RETURN_NOT_OK(this->indices_builder_.AppendValues(values, length, valid_bytes)); |
| 686 | this->capacity_ = this->indices_builder_.capacity(); |
| 687 | this->length_ += length; |
| 688 | this->null_count_ += this->indices_builder_.null_count() - null_count_before; |
| 689 | return Status::OK(); |
| 690 | } |
| 691 | }; |
| 692 | |
| 693 | /// \brief A DictionaryArray builder that always returns int32 dictionary |