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

Method MapVectorPrinter

bolt/vector/VectorPrinter.cpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174class MapVectorPrinter : public VectorPrinter {
175 public:
176 explicit MapVectorPrinter(const BaseVector& vector) : VectorPrinter(vector) {
177 auto* mapVector = decoded_.base()->as<MapVector>();
178 children_.emplace_back(createVectorPrinter(*mapVector->mapKeys()));
179 children_.emplace_back(createVectorPrinter(*mapVector->mapValues()));
180 }
181
182 protected:
183 std::string printNonNull(vector_size_t index, const std::string& indent)

Callers

nothing calls this directly

Calls 4

createVectorPrinterFunction · 0.85
baseMethod · 0.45
mapKeysMethod · 0.45
mapValuesMethod · 0.45

Tested by

no test coverage detected