6 #ifndef __DELETE_GRAPH_H__
7 #define __DELETE_GRAPH_H__
27 options(std::map<std::string, std::string>())
57 DeleteGraphRequest(
const std::string& graphName_,
const std::map<std::string, std::string>& options_):
64 std::map<std::string, std::string>
options;
70 template<>
struct codec_traits<gpudb::DeleteGraphRequest>
80 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
82 const std::vector<size_t> fo = rd->fieldOrder();
84 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
128 info(std::map<std::string, std::string>())
133 std::map<std::string, std::string>
info;
139 template<>
struct codec_traits<gpudb::DeleteGraphResponse>
143 ::avro::encode(e, v.
result);
144 ::avro::encode(e, v.
info);
149 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
151 const std::vector<size_t> fo = rd->fieldOrder();
153 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
158 ::avro::decode(d, v.
result);
162 ::avro::decode(d, v.
info);
172 ::avro::decode(d, v.
result);
173 ::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.