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

Method getArray

base/poco/JSON/src/Object.cpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124
125Array::Ptr Object::getArray(const std::string& key) const
126{
127 ValueMap::const_iterator it = _values.find(key);
128 if ((it != _values.end()) && (it->second.type() == typeid(Array::Ptr)))
129 {
130 return it->second.extract<Array::Ptr>();
131 }
132
133 return 0;
134}
135
136
137Object::Ptr Object::getObject(const std::string& key) const

Callers 1

makeStructMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected