MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / updateInMemoryStats

Function updateInMemoryStats

src/storage/table/column_chunk_data.cpp:198–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void updateInMemoryStats(ColumnChunkStats& stats, const ValueVector& values,
199 uint64_t offset = 0, uint64_t numValues = std::numeric_limits<uint64_t>::max()) {
200 const auto physicalType = values.dataType.getPhysicalType();
201 const auto numValuesToCheck = std::min(numValues, values.state->getSelSize());
202 stats.update(values, offset, numValuesToCheck, physicalType);
203}
204
205static void updateInMemoryStats(ColumnChunkStats& stats, const ColumnChunkData* values,
206 uint64_t offset = 0, uint64_t numValues = std::numeric_limits<uint64_t>::max()) {

Callers 3

updateStatsMethod · 0.85
appendMethod · 0.85
writeMethod · 0.85

Calls 6

getSelSizeMethod · 0.80
getDataTypeMethod · 0.80
getNullMaskMethod · 0.80
getPhysicalTypeMethod · 0.45
updateMethod · 0.45
getNumValuesMethod · 0.45

Tested by

no test coverage detected