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

Method getTotalNumFlatTuples

src/processor/result/factorized_table.cpp:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260uint64_t FactorizedTable::getTotalNumFlatTuples() const {
261 auto totalNumFlatTuples = 0ul;
262 for (auto i = 0u; i < getNumTuples(); i++) {
263 totalNumFlatTuples += getNumFlatTuples(i);
264 }
265 return totalNumFlatTuples;
266}
267
268uint64_t FactorizedTable::getNumFlatTuples(ft_tuple_idx_t tupleIdx) const {
269 std::unordered_map<uint32_t, bool> calculatedGroups;

Callers 3

executeInternalMethod · 0.80
prepareRowGroupMethod · 0.80
getNumTuplesMethod · 0.80

Calls 1

getNumTuplesFunction · 0.85

Tested by

no test coverage detected