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

Method toSummaryString

bolt/vector/BaseVector.cpp:517–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517std::string BaseVector::toSummaryString() const {
518 std::stringstream out;
519 out << "[" << encoding() << " " << type_->toString() << ": " << length_
520 << " elements, ";
521 if (!nulls_) {
522 out << "no nulls";
523 } else {
524 out << countNulls(nulls_, 0, length_) << " nulls";
525 }
526 out << "]";
527 return out.str();
528}
529
530std::string BaseVector::toString(bool recursive) const {
531 std::stringstream out;

Callers

nothing calls this directly

Calls 4

strMethod · 0.80
encodingFunction · 0.70
countNullsFunction · 0.70
toStringMethod · 0.45

Tested by

no test coverage detected