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

Method getSerializedData

src/Processors/QueryPlan/Serialization.cpp:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146std::string_view QueryPlan::getSerializedData() const
147{
148 if (!serialized_plan)
149 throw Exception(ErrorCodes::LOGICAL_ERROR,
150 "Query plan is not serialized. Call ensureSerialized() first.");
151
152 return serialized_plan->stringView();
153}
154
155bool QueryPlan::isSerialized() const
156{

Callers 1

sendQueryPlanMethod · 0.80

Calls 2

ExceptionClass · 0.50
stringViewMethod · 0.45

Tested by

no test coverage detected