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

Method Finish

cpp/src/arrow/io/memory.cc:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87bool BufferOutputStream::closed() const { return !is_open_; }
88
89Result<std::shared_ptr<Buffer>> BufferOutputStream::Finish() {
90 RETURN_NOT_OK(Close());
91 buffer_->ZeroPadding();
92 is_open_ = false;
93 return std::move(buffer_);
94}
95
96Result<int64_t> BufferOutputStream::Tell() const { return position_; }
97

Callers 15

ConvertMethod · 0.45
TEST_FFunction · 0.45
DataEqArrayFunction · 0.45
NestedListArrayMethod · 0.45
ScalarVectorToArrayFunction · 0.45
ArrayFromVectorFunction · 0.45
FinishAndCheckPaddingFunction · 0.45
MakeArrayFunction · 0.45
ArrayFromBuilderVisitorFunction · 0.45
MakeRandomArrayMethod · 0.45
GenerateBinaryArrayFunction · 0.45

Calls 1

CloseFunction · 0.50

Tested by 2

TEST_FFunction · 0.36
NestedListArrayMethod · 0.36