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

Method descriptionImpl

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

Source from the content-addressed store, hash-verified

450}
451
452std::string CreateRequestGenerator::descriptionImpl()
453{
454 std::string data_string
455 = data.has_value() ? fmt::format("data for created nodes: {}", data->description()) : "no data for created nodes";
456 std::string remove_factor_string
457 = remove_factor.has_value() ? fmt::format("- remove factor: {}", *remove_factor) : "- without removes";
458 return fmt::format(
459 "Create Request Generator\n"
460 "- parent path(s) for created nodes: {}\n"
461 "- name for created nodes: {}\n"
462 "- {}\n"
463 "{}",
464 parent_path.description(),
465 name.description(),
466 data_string,
467 remove_factor_string);
468}
469
470void CreateRequestGenerator::startupImpl(const ListChildrenFn & list_children, const TaggedPaths * tagged_paths)
471{

Callers

nothing calls this directly

Calls 2

formatFunction · 0.50
descriptionMethod · 0.45

Tested by

no test coverage detected