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

Method toString

bolt/exec/VectorHasher.cpp:868–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868std::string VectorHasher::toString() const {
869 std::stringstream out;
870 out << "VectorHasher channel: " << channel_ << " " << type_->toString()
871 << " multiplier: " << multiplier_;
872 if (isRange_) {
873 out << " range size " << rangeSize_ << ": [" << min_ << ", " << max_ << "]";
874 }
875 if (!distinctOverflow_) {
876 out << " numDistinct: " << uniqueValues_.size();
877 }
878 return out.str();
879}
880
881std::vector<std::unique_ptr<VectorHasher>> createVectorHashers(
882 const RowTypePtr& rowType,

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected