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