MCPcopy Create free account
hub / github.com/alibaba/GraphScope / GetObject

Method GetObject

analytical_engine/core/object/object_manager.h:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 bl::result<std::shared_ptr<GSObject>> GetObject(const std::string& id) {
67 DLOG(INFO) << "[object manager] getting " << id;
68 if (objects.find(id) == objects.end()) {
69 RETURN_GS_ERROR(vineyard::ErrorCode::kInvalidOperationError,
70 "Object " + id + " does not exist");
71 }
72 return objects[id];
73 }
74
75 template <typename T>
76 bl::result<std::shared_ptr<T>> GetObject(const std::string& id) {

Callers 15

FromJsonMethod · 0.80
unloadGraphMethod · 0.80
ProjectMethod · 0.80
ModifyVerticesMethod · 0.80
ModifyEdgesMethod · 0.80
ProjectMethod · 0.80
MapMethod · 0.80
addVertexColumnMethod · 0.80
addEdgeColumnMethod · 0.80
GraphXLoaderMethod · 0.80
LoadFragmentFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.65

Tested by 15

output_vineyard_tensorFunction · 0.64
RunFunction · 0.64
mainFunction · 0.64
RunFunction · 0.64
mainFunction · 0.64
RunFunction · 0.64
CreateAndQueryFunction · 0.64
mainFunction · 0.64
RunFunction · 0.64
mainFunction · 0.64
RunFunction · 0.64