| 369 | } |
| 370 | |
| 371 | arrow::Status |
| 372 | Close() override |
| 373 | { |
| 374 | GError *error = NULL; |
| 375 | if (g_output_stream_close(output_stream_, NULL, &error)) { |
| 376 | return arrow::Status::OK(); |
| 377 | } else { |
| 378 | return garrow_error_to_status(error, |
| 379 | arrow::StatusCode::IOError, |
| 380 | "[gio-output-stream][close]"); |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | arrow::Result<int64_t> |
| 385 | Tell() const override |
nothing calls this directly
no test coverage detected