public class AdminShowClusterOperationsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminShowClusterOperations
.Constructor and Description |
---|
AdminShowClusterOperationsResponse()
Constructs an AdminShowClusterOperationsResponse object with default
parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
boolean |
getAddRanks()
Whether adding ranks is (or was) part of this operation.
|
int |
getAddRanksPercentComplete()
Current percent complete of the add ranks operation.
|
String |
getAddRanksStatus()
If this was a rank-adding operation, the add-specific status of the
operation.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
boolean |
getDryRun()
Whether this operation was a dry run.
|
String |
getEndpoint()
The endpoint that initiated the cluster operation.
|
String |
getEndpointSchema()
The schema for the original request.
|
String |
getEndTime()
The end time of the cluster operation, if completed.
|
int |
getHistoryIndex()
The index of this cluster operation in the reverse-chronologically
sorted list of operations, where 0 is the most recent operation.
|
int |
getHistorySize()
Number of cluster operations executed to date.
|
Map<String,String> |
getInfo()
Additional information.
|
boolean |
getInProgress()
Whether this cluster operation is currently in progress or not.
|
List<String> |
getMessages()
Updates and error messages if any.
|
int |
getNumShardsChanging()
Number of shards that will change as part of rebalance.
|
String |
getOverallStatus()
Overall success status of the operation.
|
int |
getPercentComplete()
Percent complete of this entire operation.
|
List<String> |
getRankHosts()
The host IP addresses of the ranks being added, in the same order as the
ranksBeingAdded list. |
List<Integer> |
getRanksBeingAdded()
The rank numbers of the ranks currently being added, or the rank numbers
that were added if the operation is complete.
|
List<Integer> |
getRanksBeingRemoved()
The ranks being removed, or that have been removed if the operation is
completed.
|
boolean |
getRebalance()
Whether data and/or shard rebalancing is (or was) part of this
operation.
|
boolean |
getRebalanceShardedData()
Whether rebalancing of sharded data is (or was) part of this operation.
|
String |
getRebalanceShardedDataStatus()
If this was an operation that included rebalancing sharded data, the
rebalancing-specific status of the operation.
|
boolean |
getRebalanceUnshardedData()
Whether rebalancing of unsharded data is (or was) part of this
operation.
|
String |
getRebalanceUnshardedDataStatus()
If this was an operation that included rebalancing unsharded data, the
rebalancing-specific status of the operation.
|
boolean |
getRemoveRanks()
Whether removing ranks is (or was) part of this operation.
|
int |
getRemoveRanksPercentComplete()
Current percent complete of the remove ranks operation.
|
String |
getRemoveRanksStatus()
If this was a rank-removing operation, the removal-specific status of
the operation.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
long |
getShardArrayVersion()
Version of the shard array that is (or was) being rebalanced to.
|
int |
getShardedRebalancePercentComplete()
Percentage of shard keys, and their associated data if applicable, that
have completed rebalancing.
|
String |
getStartTime()
The start time of the cluster operation.
|
int |
getUnshardedRebalancePercentComplete()
Percentage of unsharded tables that completed rebalancing, out of all
unsharded tables to rebalance.
|
boolean |
getUserStopped()
Whether a user stopped this operation at any point while in progress.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
AdminShowClusterOperationsResponse |
setAddRanks(boolean addRanks)
Whether adding ranks is (or was) part of this operation.
|
AdminShowClusterOperationsResponse |
setAddRanksPercentComplete(int addRanksPercentComplete)
Current percent complete of the add ranks operation.
|
AdminShowClusterOperationsResponse |
setAddRanksStatus(String addRanksStatus)
If this was a rank-adding operation, the add-specific status of the
operation.
|
AdminShowClusterOperationsResponse |
setDryRun(boolean dryRun)
Whether this operation was a dry run.
|
AdminShowClusterOperationsResponse |
setEndpoint(String endpoint)
The endpoint that initiated the cluster operation.
|
AdminShowClusterOperationsResponse |
setEndpointSchema(String endpointSchema)
The schema for the original request.
|
AdminShowClusterOperationsResponse |
setEndTime(String endTime)
The end time of the cluster operation, if completed.
|
AdminShowClusterOperationsResponse |
setHistoryIndex(int historyIndex)
The index of this cluster operation in the reverse-chronologically
sorted list of operations, where 0 is the most recent operation.
|
AdminShowClusterOperationsResponse |
setHistorySize(int historySize)
Number of cluster operations executed to date.
|
AdminShowClusterOperationsResponse |
setInfo(Map<String,String> info)
Additional information.
|
AdminShowClusterOperationsResponse |
setInProgress(boolean inProgress)
Whether this cluster operation is currently in progress or not.
|
AdminShowClusterOperationsResponse |
setMessages(List<String> messages)
Updates and error messages if any.
|
AdminShowClusterOperationsResponse |
setNumShardsChanging(int numShardsChanging)
Number of shards that will change as part of rebalance.
|
AdminShowClusterOperationsResponse |
setOverallStatus(String overallStatus)
Overall success status of the operation.
|
AdminShowClusterOperationsResponse |
setPercentComplete(int percentComplete)
Percent complete of this entire operation.
|
AdminShowClusterOperationsResponse |
setRankHosts(List<String> rankHosts)
The host IP addresses of the ranks being added, in the same order as the
ranksBeingAdded list. |
AdminShowClusterOperationsResponse |
setRanksBeingAdded(List<Integer> ranksBeingAdded)
The rank numbers of the ranks currently being added, or the rank numbers
that were added if the operation is complete.
|
AdminShowClusterOperationsResponse |
setRanksBeingRemoved(List<Integer> ranksBeingRemoved)
The ranks being removed, or that have been removed if the operation is
completed.
|
AdminShowClusterOperationsResponse |
setRebalance(boolean rebalance)
Whether data and/or shard rebalancing is (or was) part of this
operation.
|
AdminShowClusterOperationsResponse |
setRebalanceShardedData(boolean rebalanceShardedData)
Whether rebalancing of sharded data is (or was) part of this operation.
|
AdminShowClusterOperationsResponse |
setRebalanceShardedDataStatus(String rebalanceShardedDataStatus)
If this was an operation that included rebalancing sharded data, the
rebalancing-specific status of the operation.
|
AdminShowClusterOperationsResponse |
setRebalanceUnshardedData(boolean rebalanceUnshardedData)
Whether rebalancing of unsharded data is (or was) part of this
operation.
|
AdminShowClusterOperationsResponse |
setRebalanceUnshardedDataStatus(String rebalanceUnshardedDataStatus)
If this was an operation that included rebalancing unsharded data, the
rebalancing-specific status of the operation.
|
AdminShowClusterOperationsResponse |
setRemoveRanks(boolean removeRanks)
Whether removing ranks is (or was) part of this operation.
|
AdminShowClusterOperationsResponse |
setRemoveRanksPercentComplete(int removeRanksPercentComplete)
Current percent complete of the remove ranks operation.
|
AdminShowClusterOperationsResponse |
setRemoveRanksStatus(String removeRanksStatus)
If this was a rank-removing operation, the removal-specific status of
the operation.
|
AdminShowClusterOperationsResponse |
setShardArrayVersion(long shardArrayVersion)
Version of the shard array that is (or was) being rebalanced to.
|
AdminShowClusterOperationsResponse |
setShardedRebalancePercentComplete(int shardedRebalancePercentComplete)
Percentage of shard keys, and their associated data if applicable, that
have completed rebalancing.
|
AdminShowClusterOperationsResponse |
setStartTime(String startTime)
The start time of the cluster operation.
|
AdminShowClusterOperationsResponse |
setUnshardedRebalancePercentComplete(int unshardedRebalancePercentComplete)
Percentage of unsharded tables that completed rebalancing, out of all
unsharded tables to rebalance.
|
AdminShowClusterOperationsResponse |
setUserStopped(boolean userStopped)
Whether a user stopped this operation at any point while in progress.
|
String |
toString() |
public AdminShowClusterOperationsResponse()
public static org.apache.avro.Schema getClassSchema()
public int getHistoryIndex()
historyIndex
.public AdminShowClusterOperationsResponse setHistoryIndex(int historyIndex)
historyIndex
- The new value for historyIndex
.this
to mimic the builder pattern.public int getHistorySize()
historySize
.public AdminShowClusterOperationsResponse setHistorySize(int historySize)
historySize
- The new value for historySize
.this
to mimic the builder pattern.public boolean getInProgress()
true
false
inProgress
.public AdminShowClusterOperationsResponse setInProgress(boolean inProgress)
true
false
inProgress
- The new value for inProgress
.this
to mimic the builder pattern.public String getStartTime()
startTime
.public AdminShowClusterOperationsResponse setStartTime(String startTime)
startTime
- The new value for startTime
.this
to mimic the builder pattern.public String getEndTime()
endTime
.public AdminShowClusterOperationsResponse setEndTime(String endTime)
endTime
- The new value for endTime
.this
to mimic the builder pattern.public String getEndpoint()
endpoint
.public AdminShowClusterOperationsResponse setEndpoint(String endpoint)
endpoint
- The new value for endpoint
.this
to mimic the builder pattern.public String getEndpointSchema()
endpointSchema
.public AdminShowClusterOperationsResponse setEndpointSchema(String endpointSchema)
endpointSchema
- The new value for endpointSchema
.this
to mimic the builder pattern.public String getOverallStatus()
overallStatus
.public AdminShowClusterOperationsResponse setOverallStatus(String overallStatus)
overallStatus
- The new value for overallStatus
.this
to mimic the builder pattern.public boolean getUserStopped()
true
false
userStopped
.public AdminShowClusterOperationsResponse setUserStopped(boolean userStopped)
true
false
userStopped
- The new value for userStopped
.this
to mimic the builder pattern.public int getPercentComplete()
percentComplete
.public AdminShowClusterOperationsResponse setPercentComplete(int percentComplete)
percentComplete
- The new value for percentComplete
.this
to mimic the builder pattern.public boolean getDryRun()
true
false
dryRun
.public AdminShowClusterOperationsResponse setDryRun(boolean dryRun)
true
false
dryRun
- The new value for dryRun
.this
to mimic the builder pattern.public List<String> getMessages()
messages
.public AdminShowClusterOperationsResponse setMessages(List<String> messages)
messages
- The new value for messages
.this
to mimic the builder pattern.public boolean getAddRanks()
true
false
addRanks
.public AdminShowClusterOperationsResponse setAddRanks(boolean addRanks)
true
false
addRanks
- The new value for addRanks
.this
to mimic the builder pattern.public String getAddRanksStatus()
addRanksStatus
.public AdminShowClusterOperationsResponse setAddRanksStatus(String addRanksStatus)
addRanksStatus
- The new value for addRanksStatus
.this
to mimic the builder pattern.public List<Integer> getRanksBeingAdded()
ranksBeingAdded
.public AdminShowClusterOperationsResponse setRanksBeingAdded(List<Integer> ranksBeingAdded)
ranksBeingAdded
- The new value for ranksBeingAdded
.this
to mimic the builder pattern.public List<String> getRankHosts()
ranksBeingAdded
list.rankHosts
.public AdminShowClusterOperationsResponse setRankHosts(List<String> rankHosts)
ranksBeingAdded
list.rankHosts
- The new value for rankHosts
.this
to mimic the builder pattern.public int getAddRanksPercentComplete()
addRanksPercentComplete
.public AdminShowClusterOperationsResponse setAddRanksPercentComplete(int addRanksPercentComplete)
addRanksPercentComplete
- The new value for addRanksPercentComplete
.this
to mimic the builder pattern.public boolean getRemoveRanks()
true
false
removeRanks
.public AdminShowClusterOperationsResponse setRemoveRanks(boolean removeRanks)
true
false
removeRanks
- The new value for removeRanks
.this
to mimic the builder pattern.public String getRemoveRanksStatus()
removeRanksStatus
.public AdminShowClusterOperationsResponse setRemoveRanksStatus(String removeRanksStatus)
removeRanksStatus
- The new value for removeRanksStatus
.this
to mimic the builder pattern.public List<Integer> getRanksBeingRemoved()
ranksBeingRemoved
.public AdminShowClusterOperationsResponse setRanksBeingRemoved(List<Integer> ranksBeingRemoved)
ranksBeingRemoved
- The new value for ranksBeingRemoved
.this
to mimic the builder pattern.public int getRemoveRanksPercentComplete()
removeRanksPercentComplete
.public AdminShowClusterOperationsResponse setRemoveRanksPercentComplete(int removeRanksPercentComplete)
removeRanksPercentComplete
- The new value for removeRanksPercentComplete
.this
to mimic the builder pattern.public boolean getRebalance()
true
false
rebalance
.public AdminShowClusterOperationsResponse setRebalance(boolean rebalance)
true
false
rebalance
- The new value for rebalance
.this
to mimic the builder pattern.public boolean getRebalanceUnshardedData()
true
false
rebalanceUnshardedData
.public AdminShowClusterOperationsResponse setRebalanceUnshardedData(boolean rebalanceUnshardedData)
true
false
rebalanceUnshardedData
- The new value for rebalanceUnshardedData
.this
to mimic the builder pattern.public String getRebalanceUnshardedDataStatus()
rebalanceUnshardedDataStatus
.public AdminShowClusterOperationsResponse setRebalanceUnshardedDataStatus(String rebalanceUnshardedDataStatus)
rebalanceUnshardedDataStatus
- The new value for rebalanceUnshardedDataStatus
.this
to mimic the builder pattern.public int getUnshardedRebalancePercentComplete()
unshardedRebalancePercentComplete
.public AdminShowClusterOperationsResponse setUnshardedRebalancePercentComplete(int unshardedRebalancePercentComplete)
unshardedRebalancePercentComplete
- The new value for unshardedRebalancePercentComplete
.this
to mimic the builder pattern.public boolean getRebalanceShardedData()
true
false
rebalanceShardedData
.public AdminShowClusterOperationsResponse setRebalanceShardedData(boolean rebalanceShardedData)
true
false
rebalanceShardedData
- The new value for rebalanceShardedData
.this
to mimic the builder pattern.public long getShardArrayVersion()
shardArrayVersion
.public AdminShowClusterOperationsResponse setShardArrayVersion(long shardArrayVersion)
shardArrayVersion
- The new value for shardArrayVersion
.this
to mimic the builder pattern.public String getRebalanceShardedDataStatus()
rebalanceShardedDataStatus
.public AdminShowClusterOperationsResponse setRebalanceShardedDataStatus(String rebalanceShardedDataStatus)
rebalanceShardedDataStatus
- The new value for rebalanceShardedDataStatus
.this
to mimic the builder pattern.public int getNumShardsChanging()
numShardsChanging
.public AdminShowClusterOperationsResponse setNumShardsChanging(int numShardsChanging)
numShardsChanging
- The new value for numShardsChanging
.this
to mimic the builder pattern.public int getShardedRebalancePercentComplete()
shardedRebalancePercentComplete
.public AdminShowClusterOperationsResponse setShardedRebalancePercentComplete(int shardedRebalancePercentComplete)
shardedRebalancePercentComplete
- The new value for shardedRebalancePercentComplete
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public AdminShowClusterOperationsResponse setInfo(Map<String,String> info)
info
- The new value for info
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2025. All rights reserved.