| 127 | IpcFileFormat::IpcFileFormat() : FileFormat(std::make_shared<IpcFragmentScanOptions>()) {} |
| 128 | |
| 129 | Result<bool> IpcFileFormat::IsSupported(const FileSource& source) const { |
| 130 | RETURN_NOT_OK(source.Open().status()); |
| 131 | return OpenReader(source).ok(); |
| 132 | } |
| 133 | |
| 134 | Result<std::shared_ptr<Schema>> IpcFileFormat::Inspect(const FileSource& source) const { |
| 135 | ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source)); |
nothing calls this directly
no test coverage detected