6 #ifndef __CLEAR_STATISTICS_H__ 7 #define __CLEAR_STATISTICS_H__ 27 options(std::map<std::string, std::string>())
49 ClearStatisticsRequest(
const std::string& tableName_,
const std::string& columnName_,
const std::map<std::string, std::string>& options_):
74 std::map<std::string, std::string>
options;
80 template<>
struct codec_traits<
gpudb::ClearStatisticsRequest>
91 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
93 const std::vector<size_t> fo = rd->fieldOrder();
95 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
141 info(std::map<std::string, std::string>())
159 std::map<std::string, std::string>
info;
165 template<>
struct codec_traits<
gpudb::ClearStatisticsResponse>
171 ::avro::encode(e, v.
info);
176 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
178 const std::vector<size_t> fo = rd->fieldOrder();
180 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
193 ::avro::decode(d, v.
info);
205 ::avro::decode(d, v.
info);
211 #endif // __CLEAR_STATISTICS_H__
ClearStatisticsRequest(const std::string &tableName_, const std::string &columnName_, const std::map< std::string, std::string > &options_)
Constructs a ClearStatisticsRequest object with the specified parameters.
ClearStatisticsResponse()
Constructs a ClearStatisticsResponse object with default parameters.
A set of results returned by GPUdb::clearStatistics.
std::string columnName
Value of columnName.
std::map< std::string, std::string > info
Additional information.
A set of parameters for GPUdb::clearStatistics.
std::map< std::string, std::string > options
Optional parameters.
std::string columnName
Name of the column in tableName for which to clear statistics.
ClearStatisticsRequest()
Constructs a ClearStatisticsRequest object with default parameters.
std::string tableName
Value of tableName.
std::string tableName
Name of a table, in [ schema_name. ]table_name format, using standard name resolution rules.