\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)
| 482 | /// time that Finish or FinishDelta were called, and reset state of builder |
| 483 | /// (except the memo table) |
| 484 | Status FinishDelta(std::shared_ptr<Array>* out_indices, |
| 485 | std::shared_ptr<Array>* out_delta) { |
| 486 | std::shared_ptr<ArrayData> indices_data; |
| 487 | std::shared_ptr<ArrayData> delta_data; |
| 488 | ARROW_RETURN_NOT_OK(FinishWithDictOffset(delta_offset_, &indices_data, &delta_data)); |
| 489 | *out_indices = MakeArray(indices_data); |
| 490 | *out_delta = MakeArray(delta_data); |
| 491 | return Status::OK(); |
| 492 | } |
| 493 | |
| 494 | /// \cond FALSE |
| 495 | using ArrayBuilder::Finish; |