6 #ifndef __LOCK_TABLE_H__
7 #define __LOCK_TABLE_H__
33 options(std::map<std::string, std::string>())
62 LockTableRequest(
const std::string& tableName_,
const std::string& lockType_,
const std::map<std::string, std::string>& options_):
71 std::map<std::string, std::string>
options;
77 template<>
struct codec_traits<gpudb::LockTableRequest>
88 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
90 const std::vector<size_t> fo = rd->fieldOrder();
92 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
155 template<>
struct codec_traits<gpudb::LockTableResponse>
164 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
166 const std::vector<size_t> fo = rd->fieldOrder();
168 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
LockTableResponse()
Constructs a LockTableResponse object with default parameter values.
std::map< std::string, std::string > options
LockTableRequest(const std::string &tableName_, const std::string &lockType_, const std::map< std::string, std::string > &options_)
Constructs a LockTableRequest object with the specified parameters.
A set of output parameters for const.
LockTableRequest()
Constructs a LockTableRequest object with default parameter values.
A set of input parameters for const.