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

Method forEachChild

src/DataTypes/DataTypeMap.cpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void DataTypeMap::forEachChild(const DB::IDataType::ChildCallback & callback) const
176{
177 callback(*key_type);
178 callback(*value_type);
179 key_type->forEachChild(callback);
180 value_type->forEachChild(callback);
181}
182
183/// Resolves a dynamic subcolumn like `map['key']` by parsing the key from the subcolumn name,
184/// creating a `SerializationMapKeyValue` that knows how to read only the relevant bucket,

Callers 3

validateGroupByKeyTypeFunction · 0.45
hasDynamicTypeFunction · 0.45
hasAggregateFunctionTypeFunction · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected