public class ShowPartResponseWrapper
extends java.lang.Object
showPartitions interface.| Modifier and Type | Class and Description |
|---|---|
static class |
ShowPartResponseWrapper.PartitionInfo
Internal-use class to wrap response of
showPartitions interface. |
| Constructor and Description |
|---|
ShowPartResponseWrapper(@NonNull io.milvus.grpc.ShowPartitionsResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ShowPartResponseWrapper.PartitionInfo |
getPartitionInfoByName(@NonNull java.lang.String partitionName)
Get information of one partition by name.
|
java.util.List<ShowPartResponseWrapper.PartitionInfo> |
getPartitionsInfo()
Get information of the partitions.
|
java.lang.String |
toString()
Construct a
String by ShowPartResponseWrapper instance. |
public ShowPartResponseWrapper(@NonNull
@NonNull io.milvus.grpc.ShowPartitionsResponse response)
public java.util.List<ShowPartResponseWrapper.PartitionInfo> getPartitionsInfo() throws IllegalResponseException
IllegalResponseExceptionpublic ShowPartResponseWrapper.PartitionInfo getPartitionInfoByName(@NonNull @NonNull java.lang.String partitionName)
partitionName - partition name to get informationShowPartResponseWrapper.PartitionInfo information of the partitionpublic java.lang.String toString()
String by ShowPartResponseWrapper instance.toString in class java.lang.ObjectString