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

Method summarizeNonNull

bolt/vector/VectorPrinter.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 std::string summarizeNonNull(vector_size_t index) const override {
165 auto* base = decoded_.base();
166 auto baseIndex = decoded_.index(index);
167 return fmt::format(
168 "{} size: {}",
169 base->type()->toString(),
170 base->as<ArrayVector>()->sizeAt(baseIndex));
171 }
172};
173
174class MapVectorPrinter : public VectorPrinter {

Callers

nothing calls this directly

Calls 5

sizeAtMethod · 0.80
baseMethod · 0.45
indexMethod · 0.45
toStringMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected