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

Method getString

programs/keeper-bench/Generator.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112std::string StringGetter::getString() const
113{
114 if (const auto * string = std::get_if<std::string>(&value))
115 return *string;
116
117 const auto & number_getter = std::get<NumberGetter>(value);
118 return generateRandomString(number_getter.getNumber(), rng);
119}
120
121std::string StringGetter::description() const
122{

Callers 14

getKeeperPathFunction · 0.45
mainMethod · 0.45
fromConfigMethod · 0.45
generateImplMethod · 0.45
setupStorageMethod · 0.45
RunnerMethod · 0.45
parseHostsFromConfigMethod · 0.45
parseNodeMethod · 0.45
createNodesMethod · 0.45
startupMethod · 0.45
cleanupMethod · 0.45
initializeMethod · 0.45

Calls 2

generateRandomStringFunction · 0.85
getNumberMethod · 0.45

Tested by

no test coverage detected