6 #ifndef __ADMIN_SHOW_SHARDS_H__ 7 #define __ADMIN_SHOW_SHARDS_H__ 28 options(std::map<std::string, std::string>())
44 std::map<std::string, std::string>
options;
59 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
61 const std::vector<size_t> fo = rd->fieldOrder();
63 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
104 rank(std::vector<int32_t>()),
105 tom(std::vector<int32_t>())
122 ::avro::encode(e, v.
rank);
123 ::avro::encode(e, v.
tom);
128 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
130 const std::vector<size_t> fo = rd->fieldOrder();
132 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
141 ::avro::decode(d, v.
rank);
145 ::avro::decode(d, v.
tom);
156 ::avro::decode(d, v.
rank);
157 ::avro::decode(d, v.
tom);
AdminShowShardsRequest()
Constructs an AdminShowShardsRequest object with default parameter values.
std::map< std::string, std::string > options
A set of output parameters for adminShowShards(const AdminShowShardsRequest&) const.
AdminShowShardsRequest(const std::map< std::string, std::string > &options_)
Constructs an AdminShowShardsRequest object with the specified parameters.
A set of input parameters for adminShowShards(const AdminShowShardsRequest&) const.
std::vector< int32_t > tom
std::vector< int32_t > rank
AdminShowShardsResponse()
Constructs an AdminShowShardsResponse object with default parameter values.