public class AdminShowShardsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminShowShards.| Constructor and Description |
|---|
AdminShowShardsResponse()
Constructs an AdminShowShardsResponse 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.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getInfo()
Additional information.
|
List<Integer> |
getRank()
Array of ranks indexed by the shard number.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Integer> |
getTom()
Array of toms to which the corresponding shard belongs.
|
long |
getVersion()
Current shard array version number.
|
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.
|
AdminShowShardsResponse |
setInfo(Map<String,String> info)
Additional information.
|
AdminShowShardsResponse |
setRank(List<Integer> rank)
Array of ranks indexed by the shard number.
|
AdminShowShardsResponse |
setTom(List<Integer> tom)
Array of toms to which the corresponding shard belongs.
|
AdminShowShardsResponse |
setVersion(long version)
Current shard array version number.
|
String |
toString() |
public AdminShowShardsResponse()
public static org.apache.avro.Schema getClassSchema()
public long getVersion()
version.public AdminShowShardsResponse setVersion(long version)
version - The new value for version.this to mimic the builder pattern.public List<Integer> getRank()
rank.public AdminShowShardsResponse setRank(List<Integer> rank)
rank - The new value for rank.this to mimic the builder pattern.public List<Integer> getTom()
tom.public AdminShowShardsResponse setTom(List<Integer> tom)
tom - The new value for tom.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public AdminShowShardsResponse 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.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2025. All rights reserved.