| 743 | } |
| 744 | |
| 745 | arrow::Status |
| 746 | Close() override |
| 747 | { |
| 748 | std::lock_guard<std::mutex> guard(lock_); |
| 749 | GError *error = NULL; |
| 750 | if (g_input_stream_close(input_stream_, NULL, &error)) { |
| 751 | return arrow::Status::OK(); |
| 752 | } else { |
| 753 | return garrow_error_to_status(error, |
| 754 | arrow::StatusCode::IOError, |
| 755 | "[gio-input-stream][close]"); |
| 756 | } |
| 757 | } |
| 758 | |
| 759 | arrow::Result<int64_t> |
| 760 | Tell() const override |
no test coverage detected