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

Method Reset

cpp/src/parquet/size_statistics.cc:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void SizeStatistics::Reset() {
94 repetition_level_histogram.assign(repetition_level_histogram.size(), 0);
95 definition_level_histogram.assign(definition_level_histogram.size(), 0);
96 if (unencoded_byte_array_data_bytes.has_value()) {
97 unencoded_byte_array_data_bytes = 0;
98 }
99}
100
101std::unique_ptr<SizeStatistics> SizeStatistics::Make(const ColumnDescriptor* descr) {
102 auto size_stats = std::make_unique<SizeStatistics>();

Callers 12

FlushValuesMethod · 0.45
FlushValuesMethod · 0.45
RecordReaderReadRecordsFunction · 0.45
RecordReaderSkipRecordsFunction · 0.45
SetDataMethod · 0.45
SetDataMethod · 0.45
SetDataMethod · 0.45
SetDataMethod · 0.45
TestResetMethod · 0.45
TEST_PFunction · 0.45
ResetPageStatisticsMethod · 0.45

Calls 2

assignMethod · 0.80
sizeMethod · 0.45

Tested by 2

TestResetMethod · 0.36
TEST_PFunction · 0.36