6 #ifndef __ADMIN_SHOW_CLUSTER_OPERATIONS_H__
7 #define __ADMIN_SHOW_CLUSTER_OPERATIONS_H__
32 options(std::map<std::string, std::string>())
52 std::map<std::string, std::string>
options;
58 template<>
struct codec_traits<gpudb::AdminShowClusterOperationsRequest>
68 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
70 const std::vector<size_t> fo = rd->fieldOrder();
72 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
131 messages(std::vector<std::string>()),
150 info(std::map<std::string, std::string>())
184 std::map<std::string, std::string>
info;
190 template<>
struct codec_traits<gpudb::AdminShowClusterOperationsResponse>
204 ::avro::encode(e, v.
dryRun);
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)
278 ::avro::decode(d, v.
dryRun);
358 ::avro::decode(d, v.
info);
378 ::avro::decode(d, v.
dryRun);
398 ::avro::decode(d, v.
info);
A set of input parameters for const.
bool rebalanceUnshardedData
std::string addRanksStatus
int32_t removeRanksPercentComplete
std::string overallStatus
int32_t unshardedRebalancePercentComplete
std::string removeRanksStatus
std::string endpointSchema
std::vector< int32_t > ranksBeingAdded
std::string rebalanceUnshardedDataStatus
AdminShowClusterOperationsRequest(const int32_t historyIndex_, const std::map< std::string, std::string > &options_)
Constructs an AdminShowClusterOperationsRequest object with the specified parameters.
std::vector< std::string > messages
std::vector< std::string > rankHosts
int32_t shardedRebalancePercentComplete
AdminShowClusterOperationsResponse()
Constructs an AdminShowClusterOperationsResponse object with default parameter values.
int32_t numShardsChanging
std::string rebalanceShardedDataStatus
std::vector< int32_t > ranksBeingRemoved
AdminShowClusterOperationsRequest()
Constructs an AdminShowClusterOperationsRequest object with default parameter values.
int32_t addRanksPercentComplete
bool rebalanceShardedData
int64_t shardArrayVersion
std::map< std::string, std::string > info
std::map< std::string, std::string > options
A set of output parameters for const.