| 101 | |
| 102 | public: |
| 103 | explicit GraphXLoader(vineyard::ObjectID objId, vineyard::Client& client, |
| 104 | const grape::CommSpec& comm_spec, |
| 105 | const GraphXPartitioner<OID_T>& partitioner, |
| 106 | bool directed = true, bool generate_eid = false, |
| 107 | bool retain_oid = false) |
| 108 | : vineyard::BasicEVFragmentLoader<OID_T, VID_T, GraphXPartitioner<OID_T>>( |
| 109 | client, comm_spec, partitioner, directed, generate_eid, |
| 110 | retain_oid) { |
| 111 | this->raw_data = |
| 112 | std::dynamic_pointer_cast<raw_data_t>(client.GetObject(objId)); |
| 113 | } |
| 114 | ~GraphXLoader() {} |
| 115 | |
| 116 | boost::leaf::result<vineyard::ObjectID> LoadFragment() { |