6 #ifndef __CREATE_TABLE_H__
7 #define __CREATE_TABLE_H__
38 options(std::map<std::string, std::string>())
132 CreateTableRequest(
const std::string& tableName_,
const std::string& typeId_,
const std::map<std::string, std::string>& options_):
147 template<>
struct codec_traits<gpudb::CreateTableRequest>
152 ::avro::encode(e, v.
typeId);
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
171 ::avro::decode(d, v.
typeId);
186 ::avro::decode(d, v.
typeId);
234 template<>
struct codec_traits<gpudb::CreateTableResponse>
239 ::avro::encode(e, v.
typeId);
245 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
247 const std::vector<size_t> fo = rd->fieldOrder();
249 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
258 ::avro::decode(d, v.
typeId);
273 ::avro::decode(d, v.
typeId);
CreateTableRequest()
Constructs a CreateTableRequest object with default parameter values.
A set of input parameters for const.
CreateTableRequest(const std::string &tableName_, const std::string &typeId_, const std::map< std::string, std::string > &options_)
Constructs a CreateTableRequest object with the specified parameters.
CreateTableResponse()
Constructs a CreateTableResponse object with default parameter values.
A set of output parameters for const.
std::map< std::string, std::string > options