26 options(std::map<std::string, std::string>())
38 HasTypeRequest(
const std::string& typeId_,
const std::map<std::string, std::string>& options_):
45 std::map<std::string, std::string>
options;
51 template<>
struct codec_traits<gpudb::HasTypeRequest>
55 ::avro::encode(e, v.
typeId);
61 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
63 const std::vector<size_t> fo = rd->fieldOrder();
65 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
70 ::avro::decode(d, v.
typeId);
84 ::avro::decode(d, v.
typeId);
109 info(std::map<std::string, std::string>())
115 std::map<std::string, std::string>
info;
121 template<>
struct codec_traits<gpudb::HasTypeResponse>
125 ::avro::encode(e, v.
typeId);
127 ::avro::encode(e, v.
info);
132 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
134 const std::vector<size_t> fo = rd->fieldOrder();
136 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
141 ::avro::decode(d, v.
typeId);
149 ::avro::decode(d, v.
info);
159 ::avro::decode(d, v.
typeId);
161 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
A set of input parameters for const.
std::map< std::string, std::string > info
HasTypeRequest(const std::string &typeId_, const std::map< std::string, std::string > &options_)
Constructs a HasTypeRequest object with the specified parameters.
A set of output parameters for const.
HasTypeRequest()
Constructs a HasTypeRequest object with default parameter values.
HasTypeResponse()
Constructs a HasTypeResponse object with default parameter values.