6 #ifndef __DROP_SCHEMA_H__
7 #define __DROP_SCHEMA_H__
27 options(std::map<std::string, std::string>())
62 DropSchemaRequest(
const std::string& schemaName_,
const std::map<std::string, std::string>& options_):
69 std::map<std::string, std::string>
options;
75 template<>
struct codec_traits<gpudb::DropSchemaRequest>
85 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
87 const std::vector<size_t> fo = rd->fieldOrder();
89 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
134 info(std::map<std::string, std::string>())
139 std::map<std::string, std::string>
info;
145 template<>
struct codec_traits<gpudb::DropSchemaResponse>
150 ::avro::encode(e, v.
info);
155 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
157 const std::vector<size_t> fo = rd->fieldOrder();
159 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
168 ::avro::decode(d, v.
info);
179 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
DropSchemaResponse()
Constructs a DropSchemaResponse object with default parameter values.
A set of input parameters for const.
A set of output parameters for const.
DropSchemaRequest()
Constructs a DropSchemaRequest object with default parameter values.
std::map< std::string, std::string > info
DropSchemaRequest(const std::string &schemaName_, const std::map< std::string, std::string > &options_)
Constructs a DropSchemaRequest object with the specified parameters.