\brief Append a sequence of elements in one shot \param[in] values a contiguous C array of values \param[in] length the number of values to append \param[in] valid_bytes an optional sequence of bytes where non-zero indicates a valid (non-null) value \return Status
| 171 | /// indicates a valid (non-null) value |
| 172 | /// \return Status |
| 173 | Status AppendValues(const value_type* values, int64_t length, |
| 174 | const uint8_t* valid_bytes = NULLPTR) { |
| 175 | ARROW_RETURN_NOT_OK(Reserve(length)); |
| 176 | data_builder_.UnsafeAppend(values, length); |
| 177 | // length_ is update by these |
| 178 | ArrayBuilder::UnsafeAppendToBitmap(valid_bytes, length); |
| 179 | return Status::OK(); |
| 180 | } |
| 181 | |
| 182 | /// \brief Append a sequence of elements in one shot |
| 183 | /// \param[in] values a contiguous C array of values |
nothing calls this directly
no test coverage detected