24 options(std::map<std::string, std::string>())
35 HasProcRequest(
const std::string& procName_,
const std::map<std::string, std::string>& options_):
49 std::map<std::string, std::string>
options;
55 template<>
struct codec_traits<
gpudb::HasProcRequest>
65 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
67 const std::vector<size_t> fo = rd->fieldOrder();
69 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
109 info(std::map<std::string, std::string>())
131 std::map<std::string, std::string>
info;
137 template<>
struct codec_traits<
gpudb::HasProcResponse>
143 ::avro::encode(e, v.
info);
148 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
150 const std::vector<size_t> fo = rd->fieldOrder();
152 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
165 ::avro::decode(d, v.
info);
177 ::avro::decode(d, v.
info);
183 #endif // __HAS_PROC_H__ std::map< std::string, std::string > options
Optional parameters.
std::string procName
Name of the proc to check for existence.
std::string procName
Value of procName.
bool procExists
Indicates whether the proc exists or not.
A set of parameters for GPUdb::hasProc.
HasProcResponse()
Constructs a HasProcResponse object with default parameters.
HasProcRequest()
Constructs a HasProcRequest object with default parameters.
HasProcRequest(const std::string &procName_, const std::map< std::string, std::string > &options_)
Constructs a HasProcRequest object with the specified parameters.
A set of results returned by GPUdb::hasProc.
std::map< std::string, std::string > info
Additional information.