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

Method Close

cpp/src/arrow/dataset/scanner.cc:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 Status Close() override {
115 std::shared_ptr<RecordBatch> batch;
116 RETURN_NOT_OK(ReadNext(&batch));
117 while (batch != nullptr) {
118 RETURN_NOT_OK(ReadNext(&batch));
119 }
120 return Status::OK();
121 }
122
123 private:
124 std::shared_ptr<Schema> schema_;

Callers 9

WriteMethod · 0.45
FinishInternalMethod · 0.45
FinishInternalMethod · 0.45
FinishInternalMethod · 0.45
WriteMethod · 0.45
GetFileSourceMethod · 0.45
WriteIpcDataFunction · 0.45
FinishMethod · 0.45

Calls 2

ReadNextFunction · 0.85
OKFunction · 0.50

Tested by 6

WriteMethod · 0.36
WriteMethod · 0.36
GetFileSourceMethod · 0.36
WriteIpcDataFunction · 0.36
FinishMethod · 0.36