6 #ifndef __MODIFY_GRAPH_H__
7 #define __MODIFY_GRAPH_H__
36 nodes(std::vector<std::string>()),
37 edges(std::vector<std::string>()),
38 weights(std::vector<std::string>()),
40 options(std::map<std::string, std::string>())
246 ModifyGraphRequest(
const std::string& graphName_,
const std::vector<std::string>& nodes_,
const std::vector<std::string>& edges_,
const std::vector<std::string>& weights_,
const std::vector<std::string>& restrictions_,
const std::map<std::string, std::string>& options_):
267 template<>
struct codec_traits<gpudb::ModifyGraphRequest>
272 ::avro::encode(e, v.
nodes);
273 ::avro::encode(e, v.
edges);
281 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
283 const std::vector<size_t> fo = rd->fieldOrder();
285 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
294 ::avro::decode(d, v.
nodes);
298 ::avro::decode(d, v.
edges);
321 ::avro::decode(d, v.
nodes);
322 ::avro::decode(d, v.
edges);
360 info(std::map<std::string, std::string>())
367 std::map<std::string, std::string>
info;
373 template<>
struct codec_traits<gpudb::ModifyGraphResponse>
380 ::avro::encode(e, v.
info);
385 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
387 const std::vector<size_t> fo = rd->fieldOrder();
389 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
406 ::avro::decode(d, v.
info);
419 ::avro::decode(d, v.
info);
std::vector< std::string > edges
std::vector< std::string > nodes
A set of input parameters for const.
A set of output parameters for const.
std::vector< std::string > restrictions
ModifyGraphResponse()
Constructs a ModifyGraphResponse object with default parameter values.
std::vector< std::string > weights
ModifyGraphRequest(const std::string &graphName_, const std::vector< std::string > &nodes_, const std::vector< std::string > &edges_, const std::vector< std::string > &weights_, const std::vector< std::string > &restrictions_, const std::map< std::string, std::string > &options_)
Constructs a ModifyGraphRequest object with the specified parameters.
std::map< std::string, std::string > options
ModifyGraphRequest()
Constructs a ModifyGraphRequest object with default parameter values.
std::map< std::string, std::string > info
std::vector< int64_t > edgesIds