6 #ifndef __ALTER_TIER_H__ 7 #define __ALTER_TIER_H__ 32 options(std::map<std::string, std::string>())
95 AlterTierRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
151 template<>
struct codec_traits<
gpudb::AlterTierRequest>
155 ::avro::encode(e, v.
name);
161 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
163 const std::vector<size_t> fo = rd->fieldOrder();
165 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 ::avro::decode(d, v.
name);
184 ::avro::decode(d, v.
name);
204 info(std::map<std::string, std::string>())
216 std::map<std::string, std::string>
info;
222 template<>
struct codec_traits<
gpudb::AlterTierResponse>
226 ::avro::encode(e, v.
name);
227 ::avro::encode(e, v.
info);
232 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
234 const std::vector<size_t> fo = rd->fieldOrder();
236 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
241 ::avro::decode(d, v.
name);
245 ::avro::decode(d, v.
info);
255 ::avro::decode(d, v.
name);
256 ::avro::decode(d, v.
info);
262 #endif // __ALTER_TIER_H__ AlterTierRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs an AlterTierRequest object with the specified parameters.
AlterTierResponse()
Constructs an AlterTierResponse object with default parameters.
std::map< std::string, std::string > info
Additional information.
AlterTierRequest()
Constructs an AlterTierRequest object with default parameters.
std::string name
Value of name.
A set of parameters for GPUdb::alterTier.
std::string name
Name of the tier to be altered.
std::map< std::string, std::string > options
Optional parameters.
A set of results returned by GPUdb::alterTier.