6 #ifndef __UPDATE_RECORDS_H__ 7 #define __UPDATE_RECORDS_H__ 47 newValuesMaps(std::vector<std::map<std::string, boost::optional<std::string> > >()),
51 options(std::map<std::string, std::string>())
137 RawUpdateRecordsRequest(
const std::string& tableName_,
const std::vector<std::string>& expressions_,
const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps_,
const std::vector<std::vector<uint8_t> >& recordsToInsert_,
const std::map<std::string, std::string>& options_):
245 RawUpdateRecordsRequest(
const std::string& tableName_,
const std::vector<std::string>& expressions_,
const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps_,
const std::vector<std::vector<uint8_t> >& recordsToInsert_,
const std::vector<std::string>& recordsToInsertStr_,
const std::string& recordEncoding_,
const std::map<std::string, std::string>& options_):
258 std::vector<std::map<std::string, boost::optional<std::string> > >
newValuesMaps;
283 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
285 const std::vector<size_t> fo = rd->fieldOrder();
287 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
379 newValuesMaps(std::vector<std::map<std::string, boost::optional<std::string> > >()),
380 data(std::vector<T>()),
381 options(std::map<std::string, std::string>())
465 UpdateRecordsRequest(
const std::string& tableName_,
const std::vector<std::string>& expressions_,
const std::vector<std::map<std::string, boost::optional<std::string> > >& newValuesMaps_,
const std::vector<T>& data_,
const std::map<std::string, std::string>& options_):
476 std::vector<std::map<std::string, boost::optional<std::string> > >
newValuesMaps;
518 countUpdated(int64_t()),
519 countsUpdated(std::vector<int64_t>()),
520 countInserted(int64_t()),
521 countsInserted(std::vector<int64_t>())
546 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
548 const std::vector<size_t> fo = rd->fieldOrder();
550 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
UpdateRecordsRequest(const std::string &tableName_, const std::vector< std::string > &expressions_, const std::vector< std::map< std::string, boost::optional< std::string > > > &newValuesMaps_, const std::vector< T > &data_, const std::map< std::string, std::string > &options_)
Constructs an UpdateRecordsRequest object with the specified parameters.
RawUpdateRecordsRequest(const std::string &tableName_, const std::vector< std::string > &expressions_, const std::vector< std::map< std::string, boost::optional< std::string > > > &newValuesMaps_, const std::vector< std::vector< uint8_t > > &recordsToInsert_, const std::map< std::string, std::string > &options_)
Constructs a RawUpdateRecordsRequest object with the specified parameters.
RawUpdateRecordsRequest(const std::string &tableName_, const std::vector< std::string > &expressions_, const std::vector< std::map< std::string, boost::optional< std::string > > > &newValuesMaps_, const std::vector< std::vector< uint8_t > > &recordsToInsert_, const std::vector< std::string > &recordsToInsertStr_, const std::string &recordEncoding_, const std::map< std::string, std::string > &options_)
Constructs a RawUpdateRecordsRequest object with the specified parameters.
std::vector< std::string > recordsToInsertStr
std::map< std::string, std::string > options
std::vector< int64_t > countsInserted
std::vector< std::vector< uint8_t > > recordsToInsert
std::vector< int64_t > countsUpdated
std::vector< std::string > expressions
std::vector< std::string > expressions
std::string recordEncoding
UpdateRecordsResponse()
Constructs an UpdateRecordsResponse object with default parameter values.
A set of output parameters for updateRecordsRaw(const RawUpdateRecordsRequest&) const.
std::vector< std::map< std::string, boost::optional< std::string > > > newValuesMaps
A set of input parameters for updateRecordsRaw(const RawUpdateRecordsRequest&) const.
std::vector< std::map< std::string, boost::optional< std::string > > > newValuesMaps
A set of input parameters for updateRecordsRaw(const RawUpdateRecordsRequest&) const.
UpdateRecordsRequest()
Constructs an UpdateRecordsRequest object with default parameter values.
std::map< std::string, std::string > options
RawUpdateRecordsRequest()
Constructs a RawUpdateRecordsRequest object with default parameter values.