MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / enumerate

Method enumerate

base/poco/Util/src/JSONConfiguration.cpp:334–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332
333
334void JSONConfiguration::enumerate(const std::string& key, Keys& range) const
335{
336 JSON::Query query(_object);
337 Poco::DynamicAny result = query.find(key);
338 if ( result.type() == typeid(JSON::Object::Ptr) )
339 {
340 JSON::Object::Ptr object = result.extract<JSON::Object::Ptr>();
341 object->getNames(range);
342 }
343}
344
345
346void JSONConfiguration::save(std::ostream& ostr, unsigned int indent) const

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
typeMethod · 0.45
getNamesMethod · 0.45

Tested by

no test coverage detected