| 1732 | } |
| 1733 | |
| 1734 | std::unique_ptr<ParquetFileReader> OpenBuffer(const std::string& contents) { |
| 1735 | auto buffer = ::arrow::Buffer::FromString(contents); |
| 1736 | return ParquetFileReader::Open(std::make_shared<::arrow::io::BufferReader>(buffer)); |
| 1737 | } |
| 1738 | |
| 1739 | ::arrow::Future<> OpenBufferAsync(const std::string& contents) { |
| 1740 | auto buffer = ::arrow::Buffer::FromString(contents); |