MCPcopy Create free account
hub / github.com/bytedance/bolt / deserializeSingleSource

Function deserializeSingleSource

bolt/core/PlanNode.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76PlanNodePtr deserializeSingleSource(const folly::dynamic& obj, void* context) {
77 auto sources = deserializeSources(obj, context);
78 BOLT_CHECK_EQ(1, sources.size());
79
80 return sources[0];
81}
82
83PlanNodeId deserializePlanNodeId(const folly::dynamic& obj) {
84 return obj["id"].asString();

Callers 1

createMethod · 0.85

Calls 2

deserializeSourcesFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected