| 1223 | |
| 1224 | private: |
| 1225 | Status AppendCurrentBlock() { |
| 1226 | ARROW_ASSIGN_OR_RAISE(auto buf, current_block_->Finish()); |
| 1227 | current_block_.reset(); |
| 1228 | current_block_size_ = 0; |
| 1229 | return AppendBlock(buf); |
| 1230 | } |
| 1231 | |
| 1232 | Status DoWrite(const void* data, int64_t nbytes, |
| 1233 | std::shared_ptr<Buffer> owned_buffer = nullptr) { |