6 #ifndef __DELETE_RECORDS_H__
7 #define __DELETE_RECORDS_H__
35 options(std::map<std::string, std::string>())
83 DeleteRecordsRequest(
const std::string& tableName_,
const std::vector<std::string>& expressions_,
const std::map<std::string, std::string>& options_):
92 std::map<std::string, std::string>
options;
98 template<>
struct codec_traits<gpudb::DeleteRecordsRequest>
109 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
111 const std::vector<size_t> fo = rd->fieldOrder();
113 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 info(std::map<std::string, std::string>())
176 std::map<std::string, std::string>
info;
182 template<>
struct codec_traits<gpudb::DeleteRecordsResponse>
188 ::avro::encode(e, v.
info);
193 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
195 const std::vector<size_t> fo = rd->fieldOrder();
197 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
210 ::avro::decode(d, v.
info);
222 ::avro::decode(d, v.
info);
A set of output parameters for const.
std::map< std::string, std::string > info
std::vector< int64_t > countsDeleted
std::map< std::string, std::string > options
DeleteRecordsRequest(const std::string &tableName_, const std::vector< std::string > &expressions_, const std::map< std::string, std::string > &options_)
Constructs a DeleteRecordsRequest object with the specified parameters.
A set of input parameters for const.
DeleteRecordsRequest()
Constructs a DeleteRecordsRequest object with default parameter values.
std::vector< std::string > expressions
DeleteRecordsResponse()
Constructs a DeleteRecordsResponse object with default parameter values.