6 #ifndef __MATCH_GRAPH_H__
7 #define __MATCH_GRAPH_H__
43 options(std::map<std::string, std::string>())
288 MatchGraphRequest(
const std::string& graphName_,
const std::vector<std::string>& samplePoints_,
const std::string& solveMethod_,
const std::string& solutionTable_,
const std::map<std::string, std::string>& options_):
307 template<>
struct codec_traits<gpudb::MatchGraphRequest>
320 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
322 const std::vector<size_t> fo = rd->fieldOrder();
324 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
398 info(std::map<std::string, std::string>())
404 std::map<std::string, std::string>
info;
410 template<>
struct codec_traits<gpudb::MatchGraphResponse>
414 ::avro::encode(e, v.
result);
416 ::avro::encode(e, v.
info);
421 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
423 const std::vector<size_t> fo = rd->fieldOrder();
425 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
430 ::avro::decode(d, v.
result);
438 ::avro::decode(d, v.
info);
448 ::avro::decode(d, v.
result);
450 ::avro::decode(d, v.
info);
std::string solutionTable
MatchGraphResponse()
Constructs a MatchGraphResponse object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > options
MatchGraphRequest(const std::string &graphName_, const std::vector< std::string > &samplePoints_, const std::string &solveMethod_, const std::string &solutionTable_, const std::map< std::string, std::string > &options_)
Constructs a MatchGraphRequest object with the specified parameters.
std::map< std::string, std::string > info
MatchGraphRequest()
Constructs a MatchGraphRequest object with default parameter values.
std::vector< std::string > samplePoints
A set of output parameters for const.