MCPcopy Create free account
hub / github.com/ByConity/ByConity / getTypeForSubstream

Method getTypeForSubstream

src/DataTypes/IDataType.cpp:277–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277DataTypePtr IDataType::getTypeForSubstream(const ISerialization::SubstreamPath & substream_path) const
278{
279 auto type = tryGetSubcolumnType(ISerialization::getSubcolumnNameForStream(substream_path));
280 if (type)
281 return type->getSubcolumnType(MAIN_SUBCOLUMN_NAME);
282
283 return getSubcolumnType(MAIN_SUBCOLUMN_NAME);
284}
285
286void IDataType::enumerateStreams(const SerializationPtr & serialization, const StreamCallbackWithType & callback, ISerialization::SubstreamPath & path) const
287{

Callers

nothing calls this directly

Calls 1

getSubcolumnTypeMethod · 0.80

Tested by

no test coverage detected