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

Method AppendIndices

cpp/src/arrow/array/builder_dict.h:759–767  ·  view source on GitHub ↗

\brief Append dictionary indices directly without modifying memo NOTE: Experimental API

Source from the content-addressed store, hash-verified

757 ///
758 /// NOTE: Experimental API
759 Status AppendIndices(const int32_t* values, int64_t length,
760 const uint8_t* valid_bytes = NULLPTR) {
761 int64_t null_count_before = this->indices_builder_.null_count();
762 ARROW_RETURN_NOT_OK(this->indices_builder_.AppendValues(values, length, valid_bytes));
763 this->capacity_ = this->indices_builder_.capacity();
764 this->length_ += length;
765 this->null_count_ += this->indices_builder_.null_count() - null_count_before;
766 return Status::OK();
767 }
768};
769
770// ----------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

OKFunction · 0.50
null_countMethod · 0.45
AppendValuesMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected