6 #ifndef __CREATE_MATERIALIZED_VIEW_H__ 7 #define __CREATE_MATERIALIZED_VIEW_H__ 36 options(std::map<std::string, std::string>())
368 template<>
struct codec_traits<
gpudb::CreateMaterializedViewRequest>
378 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
380 const std::vector<size_t> fo = rd->fieldOrder();
382 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
424 info(std::map<std::string, std::string>())
449 std::map<std::string, std::string>
info;
455 template<>
struct codec_traits<
gpudb::CreateMaterializedViewResponse>
460 ::avro::encode(e, v.
viewId);
461 ::avro::encode(e, v.
info);
466 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
468 const std::vector<size_t> fo = rd->fieldOrder();
470 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
479 ::avro::decode(d, v.
viewId);
483 ::avro::decode(d, v.
info);
494 ::avro::decode(d, v.
viewId);
495 ::avro::decode(d, v.
info);
501 #endif // __CREATE_MATERIALIZED_VIEW_H__ CreateMaterializedViewRequest()
Constructs a CreateMaterializedViewRequest object with default parameters.
std::string tableName
Value of tableName.
A set of results returned by GPUdb::createMaterializedView.
A set of parameters for GPUdb::createMaterializedView.
CreateMaterializedViewResponse()
Constructs a CreateMaterializedViewResponse object with default parameters.
std::string tableName
Name of the table to be created that is the top-level table of the materialized view,...
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
Optional parameters.
std::string viewId
Value of view_id.
std::map< std::string, std::string > info
Additional information.