6 #ifndef __CLEAR_TABLE_H__
7 #define __CLEAR_TABLE_H__
30 options(std::map<std::string, std::string>())
61 ClearTableRequest(
const std::string& tableName_,
const std::string& authorization_,
const std::map<std::string, std::string>& options_):
70 std::map<std::string, std::string>
options;
76 template<>
struct codec_traits<gpudb::ClearTableRequest>
87 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
89 const std::vector<size_t> fo = rd->fieldOrder();
91 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
143 info(std::map<std::string, std::string>())
148 std::map<std::string, std::string>
info;
154 template<>
struct codec_traits<gpudb::ClearTableResponse>
159 ::avro::encode(e, v.
info);
164 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
166 const std::vector<size_t> fo = rd->fieldOrder();
168 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
177 ::avro::decode(d, v.
info);
188 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
A set of input parameters for const.
ClearTableRequest(const std::string &tableName_, const std::string &authorization_, const std::map< std::string, std::string > &options_)
Constructs a ClearTableRequest object with the specified parameters.
A set of output parameters for const.
ClearTableResponse()
Constructs a ClearTableResponse object with default parameter values.
std::string authorization
std::map< std::string, std::string > options
ClearTableRequest()
Constructs a ClearTableRequest object with default parameter values.