6 #ifndef __HAS_TABLE_H__
7 #define __HAS_TABLE_H__
26 options(std::map<std::string, std::string>())
37 HasTableRequest(
const std::string& tableName_,
const std::map<std::string, std::string>& options_):
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::HasTableRequest>
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::HasTableResponse>
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);
A set of input parameters for const.
std::map< std::string, std::string > options
HasTableRequest(const std::string &tableName_, const std::map< std::string, std::string > &options_)
Constructs a HasTableRequest object with the specified parameters.
HasTableRequest()
Constructs a HasTableRequest object with default parameter values.
HasTableResponse()
Constructs a HasTableResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.