| 1523 | } |
| 1524 | |
| 1525 | std::unique_ptr<ParquetFileReader> OpenBuffer(const std::string& contents) { |
| 1526 | auto buffer = ::arrow::Buffer::FromString(contents); |
| 1527 | return ParquetFileReader::Open(std::make_shared<::arrow::io::BufferReader>(buffer)); |
| 1528 | } |
| 1529 | |
| 1530 | ::arrow::Future<> OpenBufferAsync(const std::string& contents) { |
| 1531 | auto buffer = ::arrow::Buffer::FromString(contents); |