6 #ifndef __DELETE_GRAPH_H__ 7 #define __DELETE_GRAPH_H__ 25 options(std::map<std::string, std::string>())
64 DeleteGraphRequest(
const std::string& graphName_,
const std::map<std::string, std::string>& options_):
98 std::map<std::string, std::string>
options;
104 template<>
struct codec_traits<
gpudb::DeleteGraphRequest>
114 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
116 const std::vector<size_t> fo = rd->fieldOrder();
118 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
158 info(std::map<std::string, std::string>())
170 std::map<std::string, std::string>
info;
176 template<>
struct codec_traits<
gpudb::DeleteGraphResponse>
180 ::avro::encode(e, v.
result);
181 ::avro::encode(e, v.
info);
186 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
188 const std::vector<size_t> fo = rd->fieldOrder();
190 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
195 ::avro::decode(d, v.
result);
199 ::avro::decode(d, v.
info);
209 ::avro::decode(d, v.
result);
210 ::avro::decode(d, v.
info);
216 #endif // __DELETE_GRAPH_H__
std::map< std::string, std::string > options
Optional parameters.
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 parameters.
std::map< std::string, std::string > info
Additional information.
std::string graphName
Name of the graph to be deleted.
A set of parameters for GPUdb::deleteGraph.
bool result
Indicates a successful deletion.
A set of results returned by GPUdb::deleteGraph.
DeleteGraphRequest()
Constructs a DeleteGraphRequest object with default parameters.