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

Method metadata_num_values

cpp/src/parquet/column_writer_test.cc:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 int64_t metadata_num_values() {
352 // Metadata accessor must be created lazily.
353 // This is because the ColumnChunkMetaData semantics dictate the metadata object is
354 // complete (no changes to the metadata buffer can be made after instantiation)
355 auto metadata_accessor =
356 ColumnChunkMetaData::Make(metadata_->contents(), this->descr_);
357 return metadata_accessor->num_values();
358 }
359
360 bool metadata_is_stats_set() {
361 // Metadata accessor must be created lazily.

Callers 2

TYPED_TESTFunction · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.80

Calls 3

MakeFunction · 0.70
contentsMethod · 0.45
num_valuesMethod · 0.45

Tested by

no test coverage detected