6 #ifndef __CLEAR_TABLE_H__ 7 #define __CLEAR_TABLE_H__ 28 options(std::map<std::string, std::string>())
72 ClearTableRequest(
const std::string& tableName_,
const std::string& authorization_,
const std::map<std::string, std::string>& options_):
121 template<>
struct codec_traits<
gpudb::ClearTableRequest>
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)
180 info(std::map<std::string, std::string>())
193 std::map<std::string, std::string>
info;
199 template<>
struct codec_traits<
gpudb::ClearTableResponse>
204 ::avro::encode(e, v.
info);
209 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
211 const std::vector<size_t> fo = rd->fieldOrder();
213 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
222 ::avro::decode(d, v.
info);
233 ::avro::decode(d, v.
info);
239 #endif // __CLEAR_TABLE_H__ std::map< std::string, std::string > info
Additional information.
A set of parameters for GPUdb::clearTable.
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 results returned by GPUdb::clearTable.
ClearTableResponse()
Constructs a ClearTableResponse object with default parameters.
std::string tableName
Name of the table to be cleared, in [ schema_name. ]table_name format, using standard name resolution...
std::string authorization
No longer used.
std::string tableName
Value of tableName for a given table, or 'ALL CLEARED' in case of clearing all tables.
std::map< std::string, std::string > options
Optional parameters.
ClearTableRequest()
Constructs a ClearTableRequest object with default parameters.