MCPcopy Create free account
hub / github.com/bytedance/bolt / numDistinct

Method numDistinct

bolt/exec/HashTable.h:680–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678 }
679
680 uint64_t numDistinct() const override {
681 return numDistinct_;
682 }
683
684 float getDistinctRatio() const override {
685 return numProbeInputs_ == 0 ? 0 : numDistinct_ * 1.0 / numProbeInputs_;

Callers 15

ensureInputFitsMethod · 0.45
reclaimMethod · 0.45
addInputMethod · 0.45
recordRuntimeMetricsMethod · 0.45
reclaimMethod · 0.45
emptyBuildSideMethod · 0.45
ensureInputFitsMethod · 0.45
spillMethod · 0.45
estimateOutputRowSizeMethod · 0.45
asyncWaitForHashTableMethod · 0.45
addInputMethod · 0.45
getOutputMethod · 0.45

Calls

no outgoing calls

Tested by 2

describeTableMethod · 0.36
TEST_PFunction · 0.36