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

Method fillFromProto

src/QueryPlan/IQueryPlanStep.cpp:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void DataStream::fillFromProto(const Protos::DataStream & proto)
53{
54 header = deserializeHeaderFromProto(proto.header());
55 for (const auto & element : proto.distinct_columns())
56 distinct_columns.emplace(element);
57 has_single_port = proto.has_single_port();
58 for (const auto & proto_element : proto.sort_description())
59 {
60 SortColumnDescription element;
61 element.fillFromProto(proto_element);
62 sort_description.emplace_back(std::move(element));
63 }
64 sort_mode = DataStream::SortModeConverter::fromProto(proto.sort_mode());
65}
66
67void RuntimeAttributeDescription::fillFromProto(const Protos::RuntimeAttributeDescription & proto)
68{

Callers 15

fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45
fromProtoMethod · 0.45

Calls 4

emplaceMethod · 0.45
emplace_backMethod · 0.45
nameMethod · 0.45

Tested by 1

createFromProtoImplMethod · 0.36