6 #ifndef __CREATE_PROJECTION_H__
7 #define __CREATE_PROJECTION_H__
59 options(std::map<std::string, std::string>())
204 CreateProjectionRequest(
const std::string& tableName_,
const std::string& projectionName_,
const std::vector<std::string>& columnNames_,
const std::map<std::string, std::string>& options_):
221 template<>
struct codec_traits<gpudb::CreateProjectionRequest>
233 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
235 const std::vector<size_t> fo = rd->fieldOrder();
237 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
321 info(std::map<std::string, std::string>())
326 std::map<std::string, std::string>
info;
332 template<>
struct codec_traits<gpudb::CreateProjectionResponse>
337 ::avro::encode(e, v.
info);
342 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
344 const std::vector<size_t> fo = rd->fieldOrder();
346 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
355 ::avro::decode(d, v.
info);
366 ::avro::decode(d, v.
info);
std::string projectionName
CreateProjectionResponse()
Constructs a CreateProjectionResponse object with default parameter values.
A set of output parameters for const.
std::string projectionName
std::map< std::string, std::string > options
CreateProjectionRequest()
Constructs a CreateProjectionRequest object with default parameter values.
CreateProjectionRequest(const std::string &tableName_, const std::string &projectionName_, const std::vector< std::string > &columnNames_, const std::map< std::string, std::string > &options_)
Constructs a CreateProjectionRequest object with the specified parameters.
std::map< std::string, std::string > info
std::vector< std::string > columnNames
A set of input parameters for const.