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

Method convertToPipe

src/QueryPlan/QueryPlan.cpp:350–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350Pipe QueryPlan::convertToPipe(
351 const QueryPlanOptimizationSettings & optimization_settings, const BuildQueryPipelineSettings & build_pipeline_settings)
352{
353 if (!isInitialized())
354 return {};
355
356 if (isCompleted())
357 throw Exception("Cannot convert completed QueryPlan to Pipe", ErrorCodes::LOGICAL_ERROR);
358
359 return QueryPipeline::getPipe(std::move(*buildQueryPipeline(optimization_settings, build_pipeline_settings)));
360}
361
362void QueryPlan::addInterpreterContext(std::shared_ptr<Context> context)
363{

Callers 15

readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80
readMethod · 0.80

Calls 1

ExceptionClass · 0.50

Tested by

no test coverage detected