MCPcopy Create free account
hub / github.com/apache/arrow / Flush

Method Flush

c_glib/arrow-glib/output-stream.cpp:418–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 }
417
418 arrow::Status
419 Flush() override
420 {
421 GError *error = NULL;
422 auto succeeded = g_output_stream_flush(output_stream_, NULL, &error);
423 if (succeeded) {
424 return arrow::Status::OK();
425 } else {
426 return garrow_error_to_status(error,
427 arrow::StatusCode::IOError,
428 "[gio-output-stream][flush]");
429 }
430 }
431
432 private:
433 GOutputStream *output_stream_;

Callers 2

garrow_writable_flushFunction · 0.45

Calls 2

garrow_error_to_statusFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected