6 #ifndef __DELETE_GRAPH_H__
7 #define __DELETE_GRAPH_H__
27 options(std::map<std::string, std::string>())
53 DeleteGraphRequest(
const std::string& graphName_,
const std::map<std::string, std::string>& options_):
60 std::map<std::string, std::string>
options;
66 template<>
struct codec_traits<gpudb::DeleteGraphRequest>
76 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
78 const std::vector<size_t> fo = rd->fieldOrder();
80 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
124 info(std::map<std::string, std::string>())
129 std::map<std::string, std::string>
info;
135 template<>
struct codec_traits<gpudb::DeleteGraphResponse>
139 ::avro::encode(e, v.
result);
140 ::avro::encode(e, v.
info);
145 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
147 const std::vector<size_t> fo = rd->fieldOrder();
149 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
154 ::avro::decode(d, v.
result);
158 ::avro::decode(d, v.
info);
168 ::avro::decode(d, v.
result);
169 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
DeleteGraphRequest(const std::string &graphName_, const std::map< std::string, std::string > &options_)
Constructs a DeleteGraphRequest object with the specified parameters.
DeleteGraphResponse()
Constructs a DeleteGraphResponse object with default parameter values.
std::map< std::string, std::string > info
A set of input parameters for const.
A set of output parameters for const.
DeleteGraphRequest()
Constructs a DeleteGraphRequest object with default parameter values.