6 #ifndef __DROP_SCHEMA_H__ 7 #define __DROP_SCHEMA_H__ 25 options(std::map<std::string, std::string>())
77 DropSchemaRequest(
const std::string& schemaName_,
const std::map<std::string, std::string>& options_):
125 template<>
struct codec_traits<
gpudb::DropSchemaRequest>
135 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
137 const std::vector<size_t> fo = rd->fieldOrder();
139 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
178 info(std::map<std::string, std::string>())
190 std::map<std::string, std::string>
info;
196 template<>
struct codec_traits<
gpudb::DropSchemaResponse>
201 ::avro::encode(e, v.
info);
206 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
208 const std::vector<size_t> fo = rd->fieldOrder();
210 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
219 ::avro::decode(d, v.
info);
230 ::avro::decode(d, v.
info);
236 #endif // __DROP_SCHEMA_H__ std::map< std::string, std::string > options
Optional parameters.
std::string schemaName
Name of the schema to be dropped.
DropSchemaResponse()
Constructs a DropSchemaResponse object with default parameters.
A set of parameters for GPUdb::dropSchema.
A set of results returned by GPUdb::dropSchema.
std::string schemaName
Value of schemaName.
DropSchemaRequest()
Constructs a DropSchemaRequest object with default parameters.
std::map< std::string, std::string > info
Additional information.
DropSchemaRequest(const std::string &schemaName_, const std::map< std::string, std::string > &options_)
Constructs a DropSchemaRequest object with the specified parameters.