6 #ifndef __REPARTITION_GRAPH_H__
7 #define __REPARTITION_GRAPH_H__
37 options(std::map<std::string, std::string>())
85 std::map<std::string, std::string>
options;
91 template<>
struct codec_traits<gpudb::RepartitionGraphRequest>
101 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
103 const std::vector<size_t> fo = rd->fieldOrder();
105 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
159 info(std::map<std::string, std::string>())
164 std::map<std::string, std::string>
info;
170 template<>
struct codec_traits<gpudb::RepartitionGraphResponse>
174 ::avro::encode(e, v.
result);
175 ::avro::encode(e, v.
info);
180 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
182 const std::vector<size_t> fo = rd->fieldOrder();
184 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
189 ::avro::decode(d, v.
result);
193 ::avro::decode(d, v.
info);
203 ::avro::decode(d, v.
result);
204 ::avro::decode(d, v.
info);
A set of input parameters for const.
std::map< std::string, std::string > options
RepartitionGraphResponse()
Constructs a RepartitionGraphResponse object with default parameter values.
RepartitionGraphRequest()
Constructs a RepartitionGraphRequest object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
RepartitionGraphRequest(const std::string &graphName_, const std::map< std::string, std::string > &options_)
Constructs a RepartitionGraphRequest object with the specified parameters.