6 #ifndef __DELETE_PROC_H__ 7 #define __DELETE_PROC_H__ 25 options(std::map<std::string, std::string>())
37 DeleteProcRequest(
const std::string& procName_,
const std::map<std::string, std::string>& options_):
52 std::map<std::string, std::string>
options;
58 template<>
struct codec_traits<
gpudb::DeleteProcRequest>
68 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
70 const std::vector<size_t> fo = rd->fieldOrder();
72 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
111 info(std::map<std::string, std::string>())
123 std::map<std::string, std::string>
info;
129 template<>
struct codec_traits<
gpudb::DeleteProcResponse>
134 ::avro::encode(e, v.
info);
139 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
141 const std::vector<size_t> fo = rd->fieldOrder();
143 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
152 ::avro::decode(d, v.
info);
163 ::avro::decode(d, v.
info);
169 #endif // __DELETE_PROC_H__
std::string procName
Name of the proc to be deleted.
DeleteProcRequest(const std::string &procName_, const std::map< std::string, std::string > &options_)
Constructs a DeleteProcRequest object with the specified parameters.
std::string procName
Value of procName.
DeleteProcResponse()
Constructs a DeleteProcResponse object with default parameters.
std::map< std::string, std::string > info
Additional information.
std::map< std::string, std::string > options
Optional parameters.
DeleteProcRequest()
Constructs a DeleteProcRequest object with default parameters.
A set of parameters for GPUdb::deleteProc.
A set of results returned by GPUdb::deleteProc.