6 #ifndef __CLEAR_TABLE_H__
7 #define __CLEAR_TABLE_H__
32 options(std::map<std::string, std::string>())
67 ClearTableRequest(
const std::string& tableName_,
const std::string& authorization_,
const std::map<std::string, std::string>& options_):
76 std::map<std::string, std::string>
options;
82 template<>
struct codec_traits<gpudb::ClearTableRequest>
93 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
95 const std::vector<size_t> fo = rd->fieldOrder();
97 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
151 info(std::map<std::string, std::string>())
156 std::map<std::string, std::string>
info;
162 template<>
struct codec_traits<gpudb::ClearTableResponse>
167 ::avro::encode(e, v.
info);
172 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
174 const std::vector<size_t> fo = rd->fieldOrder();
176 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
185 ::avro::decode(d, v.
info);
196 ::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.