6 #ifndef __ADMIN_OFFLINE_H__
7 #define __ADMIN_OFFLINE_H__
28 options(std::map<std::string, std::string>())
60 std::map<std::string, std::string>
options;
66 template<>
struct codec_traits<gpudb::AdminOfflineRequest>
76 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
78 const std::vector<size_t> fo = rd->fieldOrder();
80 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
125 info(std::map<std::string, std::string>())
130 std::map<std::string, std::string>
info;
136 template<>
struct codec_traits<gpudb::AdminOfflineResponse>
141 ::avro::encode(e, v.
info);
146 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
148 const std::vector<size_t> fo = rd->fieldOrder();
150 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
159 ::avro::decode(d, v.
info);
170 ::avro::decode(d, v.
info);
AdminOfflineRequest()
Constructs an AdminOfflineRequest object with default parameter values.
AdminOfflineResponse()
Constructs an AdminOfflineResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
std::map< std::string, std::string > options
AdminOfflineRequest(const bool offline_, const std::map< std::string, std::string > &options_)
Constructs an AdminOfflineRequest object with the specified parameters.
A set of input parameters for const.