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

Method execute

programs/disks/ICommand.cpp:25–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void ICommand::execute(const Strings & arguments, DisksClient & client)
26{
27 CommandLineOptions options = [this, &arguments]()
28 {
29 try
30 {
31 return processCommandLineArguments(arguments);
32 }
33 catch (std::exception & exc)
34 {
35 throw Exception(ErrorCodes::BAD_ARGUMENTS, "{}", exc.what());
36 }
37 }();
38 executeImpl(options, client);
39}
40
41DiskWithPath & ICommand::getDiskWithPath(DisksClient & client, const CommandLineOptions & options, const String & name)
42{

Callers 2

processQueryTextMethod · 0.45
processQueryTextMethod · 0.45

Calls 3

ExceptionClass · 0.50
executeImplFunction · 0.50
whatMethod · 0.45

Tested by

no test coverage detected