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

Method description

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

Source from the content-addressed store, hash-verified

75}
76
77std::string NumberGetter::description() const
78{
79 if (const auto * number = std::get_if<uint64_t>(&value))
80 return std::to_string(*number);
81
82 const auto & range = std::get<NumberRange>(value);
83 return fmt::format("random value from range [{}, {}]", range.min_value, range.max_value);
84}
85
86uint64_t NumberGetter::getNumber() const
87{

Callers 4

formatOptionsMethod · 0.45
descriptionImplMethod · 0.45
startupMethod · 0.45
dumpTreeMethod · 0.45

Calls 3

to_stringFunction · 0.50
formatFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected