| 690 | uint64_t getNaturalWriteSize() const override { return kOrcNaturalWriteSize; } |
| 691 | |
| 692 | void write(const void* buf, size_t length) override { |
| 693 | ORC_THROW_NOT_OK(output_stream_.Write(buf, static_cast<int64_t>(length))); |
| 694 | length_ += static_cast<int64_t>(length); |
| 695 | } |
| 696 | |
| 697 | // Mandatory due to us implementing an ORC virtual class. |
| 698 | // Used by ORC for error messages, not used by Arrow |