6 #ifndef __SHOW_TABLES_BY_TYPE_H__
7 #define __SHOW_TABLES_BY_TYPE_H__
32 options(std::map<std::string, std::string>())
47 ShowTablesByTypeRequest(
const std::string& typeId_,
const std::string& label_,
const std::map<std::string, std::string>& options_):
56 std::map<std::string, std::string>
options;
62 template<>
struct codec_traits<gpudb::ShowTablesByTypeRequest>
66 ::avro::encode(e, v.
typeId);
67 ::avro::encode(e, v.
label);
73 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
75 const std::vector<size_t> fo = rd->fieldOrder();
77 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
82 ::avro::decode(d, v.
typeId);
86 ::avro::decode(d, v.
label);
100 ::avro::decode(d, v.
typeId);
101 ::avro::decode(d, v.
label);
130 info(std::map<std::string, std::string>())
135 std::map<std::string, std::string>
info;
141 template<>
struct codec_traits<gpudb::ShowTablesByTypeResponse>
146 ::avro::encode(e, v.
info);
151 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
153 const std::vector<size_t> fo = rd->fieldOrder();
155 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
164 ::avro::decode(d, v.
info);
175 ::avro::decode(d, v.
info);
ShowTablesByTypeResponse()
Constructs a ShowTablesByTypeResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
std::vector< std::string > tableNames
ShowTablesByTypeRequest(const std::string &typeId_, const std::string &label_, const std::map< std::string, std::string > &options_)
Constructs a ShowTablesByTypeRequest object with the specified parameters.
ShowTablesByTypeRequest()
Constructs a ShowTablesByTypeRequest object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > options