\brief Return dictionary indices and a delta dictionary since the last time that Finish or FinishDelta were called, and reset state of builder (except the memo table)
| 474 | /// time that Finish or FinishDelta were called, and reset state of builder |
| 475 | /// (except the memo table) |
| 476 | Status FinishDelta(std::shared_ptr<Array>* out_indices, |
| 477 | std::shared_ptr<Array>* out_delta) { |
| 478 | std::shared_ptr<ArrayData> indices_data; |
| 479 | std::shared_ptr<ArrayData> delta_data; |
| 480 | ARROW_RETURN_NOT_OK(FinishWithDictOffset(delta_offset_, &indices_data, &delta_data)); |
| 481 | *out_indices = MakeArray(indices_data); |
| 482 | *out_delta = MakeArray(delta_data); |
| 483 | return Status::OK(); |
| 484 | } |
| 485 | |
| 486 | /// \cond FALSE |
| 487 | using ArrayBuilder::Finish; |