6 #ifndef __ALTER_TIER_H__ 7 #define __ALTER_TIER_H__ 32 options(std::map<std::string, std::string>())
93 AlterTierRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
148 template<>
struct codec_traits<
gpudb::AlterTierRequest>
152 ::avro::encode(e, v.
name);
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
167 ::avro::decode(d, v.
name);
181 ::avro::decode(d, v.
name);
201 info(std::map<std::string, std::string>())
213 std::map<std::string, std::string>
info;
219 template<>
struct codec_traits<
gpudb::AlterTierResponse>
223 ::avro::encode(e, v.
name);
224 ::avro::encode(e, v.
info);
229 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
231 const std::vector<size_t> fo = rd->fieldOrder();
233 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
238 ::avro::decode(d, v.
name);
242 ::avro::decode(d, v.
info);
252 ::avro::decode(d, v.
name);
253 ::avro::decode(d, v.
info);
259 #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.