\brief Append dictionary indices directly without modifying memo NOTE: Experimental API
| 734 | /// |
| 735 | /// NOTE: Experimental API |
| 736 | Status AppendIndices(const int64_t* values, int64_t length, |
| 737 | const uint8_t* valid_bytes = NULLPTR) { |
| 738 | int64_t null_count_before = this->indices_builder_.null_count(); |
| 739 | ARROW_RETURN_NOT_OK(this->indices_builder_.AppendValues(values, length, valid_bytes)); |
| 740 | this->capacity_ = this->indices_builder_.capacity(); |
| 741 | this->length_ += length; |
| 742 | this->null_count_ += this->indices_builder_.null_count() - null_count_before; |
| 743 | return Status::OK(); |
| 744 | } |
| 745 | }; |
| 746 | |
| 747 | /// \brief A DictionaryArray builder that always returns int32 dictionary |