6 #ifndef __SHOW_TABLE_H__
7 #define __SHOW_TABLE_H__
44 options(std::map<std::string, std::string>())
109 ShowTableRequest(
const std::string& tableName_,
const std::map<std::string, std::string>& options_):
122 template<>
struct codec_traits<gpudb::ShowTableRequest>
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)
199 typeIds(std::vector<std::string>()),
202 properties(std::vector<std::map<std::string, std::vector<std::string> > >()),
203 additionalInfo(std::vector<std::map<std::string, std::string> >()),
204 sizes(std::vector<int64_t>()),
209 info(std::map<std::string, std::string>())
219 std::vector<std::map<std::string, std::vector<std::string> > >
properties;
226 std::map<std::string, std::string>
info;
232 template<>
struct codec_traits<gpudb::ShowTableResponse>
244 ::avro::encode(e, v.
sizes);
249 ::avro::encode(e, v.
info);
254 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
256 const std::vector<size_t> fo = rd->fieldOrder();
258 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
295 ::avro::decode(d, v.
sizes);
315 ::avro::decode(d, v.
info);
333 ::avro::decode(d, v.
sizes);
338 ::avro::decode(d, v.
info);
ShowTableRequest()
Constructs a ShowTableRequest object with default parameter values.
std::vector< double > joinSizes
std::vector< std::map< std::string, std::string > > additionalInfo
std::vector< std::string > typeLabels
std::vector< int64_t > fullSizes
std::map< std::string, std::string > info
ShowTableRequest(const std::string &tableName_, const std::map< std::string, std::string > &options_)
Constructs a ShowTableRequest object with the specified parameters.
std::vector< std::string > typeSchemas
std::vector< std::map< std::string, std::vector< std::string > > > properties
A set of input parameters for const.
std::vector< std::vector< std::string > > tableDescriptions
ShowTableResponse()
Constructs a ShowTableResponse object with default parameter values.
std::map< std::string, std::string > options
std::vector< std::string > tableNames
std::vector< std::string > typeIds
A set of output parameters for const.
std::vector< int64_t > sizes