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

Function isMapImplicitFileNameOfSpecialMapName

src/DataTypes/MapHelpers.cpp:335–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335bool isMapImplicitFileNameOfSpecialMapName(const String file_name, const String map_col)
336{
337 if (isMapBaseFile(file_name))
338 return startsWith(file_name, genMapBaseFilePrefix(map_col));
339 else
340 return startsWith(file_name, genMapKeyFilePrefix(map_col));
341}
342
343bool isMapImplicitDataFileNameOfSpecialMapName(const String & file_name, const String map_col)
344{

Callers 6

hasColumnFilesMethod · 0.85
getMapColumnSizeNotKVMethod · 0.85
hasColumnFilesMethod · 0.85
hasColumnFilesMethod · 0.85

Calls 4

isMapBaseFileFunction · 0.85
genMapBaseFilePrefixFunction · 0.85
genMapKeyFilePrefixFunction · 0.85
startsWithFunction · 0.50

Tested by

no test coverage detected