26 options(std::map<std::string, std::string>())
37 HasProcRequest(
const std::string& procName_,
const std::map<std::string, std::string>& options_):
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::HasProcRequest>
60 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
62 const std::vector<size_t> fo = rd->fieldOrder();
64 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
108 info(std::map<std::string, std::string>())
114 std::map<std::string, std::string>
info;
120 template<>
struct codec_traits<gpudb::HasProcResponse>
126 ::avro::encode(e, v.
info);
131 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
133 const std::vector<size_t> fo = rd->fieldOrder();
135 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
148 ::avro::decode(d, v.
info);
160 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
A set of input parameters for const.
HasProcResponse()
Constructs a HasProcResponse object with default parameter values.
HasProcRequest()
Constructs a HasProcRequest object with default parameter values.
HasProcRequest(const std::string &procName_, const std::map< std::string, std::string > &options_)
Constructs a HasProcRequest object with the specified parameters.
A set of output parameters for const.
std::map< std::string, std::string > info