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

Method Close

cpp/src/arrow/filesystem/azurefs.cc:1129–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127 }
1128
1129 Status Close() override {
1130 if (closed_) {
1131 return Status::OK();
1132 }
1133
1134 if (current_block_) {
1135 // Upload remaining buffer
1136 RETURN_NOT_OK(AppendCurrentBlock());
1137 }
1138
1139 RETURN_NOT_OK(Flush());
1140 block_blob_client_ = nullptr;
1141 closed_ = true;
1142 return Status::OK();
1143 }
1144
1145 Future<> CloseAsync() override {
1146 if (closed_) {

Callers

nothing calls this directly

Calls 2

FlushFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected