6 #ifndef __CREATE_MATERIALIZED_VIEW_H__
7 #define __CREATE_MATERIALIZED_VIEW_H__
37 options(std::map<std::string, std::string>())
131 template<>
struct codec_traits<gpudb::CreateMaterializedViewRequest>
141 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
143 const std::vector<size_t> fo = rd->fieldOrder();
145 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
200 info(std::map<std::string, std::string>())
206 std::map<std::string, std::string>
info;
212 template<>
struct codec_traits<gpudb::CreateMaterializedViewResponse>
217 ::avro::encode(e, v.
viewId);
218 ::avro::encode(e, v.
info);
223 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
225 const std::vector<size_t> fo = rd->fieldOrder();
227 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
236 ::avro::decode(d, v.
viewId);
240 ::avro::decode(d, v.
info);
251 ::avro::decode(d, v.
viewId);
252 ::avro::decode(d, v.
info);
CreateMaterializedViewRequest()
Constructs a CreateMaterializedViewRequest object with default parameter values.
A set of output parameters for const.
A set of input parameters for const.
CreateMaterializedViewResponse()
Constructs a CreateMaterializedViewResponse object with default parameter values. ...
CreateMaterializedViewRequest(const std::string &tableName_, const std::map< std::string, std::string > &options_)
Constructs a CreateMaterializedViewRequest object with the specified parameters.
std::map< std::string, std::string > options
std::map< std::string, std::string > info