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

Method FlushBuilder

cpp/src/parquet/column_reader.cc:2194–2203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2192 }
2193
2194 void FlushBuilder() {
2195 if (builder_.length() > 0) {
2196 std::shared_ptr<::arrow::Array> chunk;
2197 PARQUET_THROW_NOT_OK(builder_.Finish(&chunk));
2198 result_chunks_.emplace_back(std::move(chunk));
2199
2200 // Also clears the dictionary memo table
2201 builder_.Reset();
2202 }
2203 }
2204
2205 void MaybeWriteNewDictionary() {
2206 if (this->new_dictionary_) {

Callers

nothing calls this directly

Calls 4

emplace_backMethod · 0.80
lengthMethod · 0.45
FinishMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected