6 #ifndef __CREATE_MATERIALIZED_VIEW_H__
7 #define __CREATE_MATERIALIZED_VIEW_H__
38 options(std::map<std::string, std::string>())
154 template<>
struct codec_traits<gpudb::CreateMaterializedViewRequest>
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)
224 info(std::map<std::string, std::string>())
230 std::map<std::string, std::string>
info;
236 template<>
struct codec_traits<gpudb::CreateMaterializedViewResponse>
241 ::avro::encode(e, v.
viewId);
242 ::avro::encode(e, v.
info);
247 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
249 const std::vector<size_t> fo = rd->fieldOrder();
251 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
260 ::avro::decode(d, v.
viewId);
264 ::avro::decode(d, v.
info);
275 ::avro::decode(d, v.
viewId);
276 ::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