public class ShowPartResponseWrapper extends Object
showPartitions interface.| 限定符和类型 | 类和说明 |
|---|---|
static class |
ShowPartResponseWrapper.PartitionInfo
Internal-use class to wrap response of
showPartitions interface. |
| 构造器和说明 |
|---|
ShowPartResponseWrapper(@NonNull ShowPartitionsResponse response) |
| 限定符和类型 | 方法和说明 |
|---|---|
ShowPartResponseWrapper.PartitionInfo |
getPartitionInfoByName(@NonNull String partitionName)
Get information of one partition by name.
|
List<ShowPartResponseWrapper.PartitionInfo> |
getPartitionsInfo()
Get information of the partitions.
|
String |
toString()
Construct a
String by ShowPartResponseWrapper instance. |
public ShowPartResponseWrapper(@NonNull
@NonNull ShowPartitionsResponse response)
public List<ShowPartResponseWrapper.PartitionInfo> getPartitionsInfo() throws IllegalResponseException
IllegalResponseExceptionpublic ShowPartResponseWrapper.PartitionInfo getPartitionInfoByName(@NonNull @NonNull String partitionName)
partitionName - partition name to get informationShowPartResponseWrapper.PartitionInfo information of the partitionpublic String toString()
String by ShowPartResponseWrapper instance.Copyright © 2023. All rights reserved.