Package io.milvus.response
Class ShowPartResponseWrapper
java.lang.Object
io.milvus.response.ShowPartResponseWrapper
Util class to wrap response of
showPartitions interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInternal-use class to wrap response ofshowPartitionsinterface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPartitionInfoByName(@NonNull String partitionName) Get information of one partition by name.Get information of the partitions.toString()Construct aStringbyShowPartResponseWrapperinstance.
-
Constructor Details
-
ShowPartResponseWrapper
-
-
Method Details
-
getPartitionsInfo
public List<ShowPartResponseWrapper.PartitionInfo> getPartitionsInfo() throws IllegalResponseExceptionGet information of the partitions.- Returns:
- List of PartitionInfo, information array of the partitions
- Throws:
IllegalResponseException
-
getPartitionInfoByName
public ShowPartResponseWrapper.PartitionInfo getPartitionInfoByName(@NonNull @NonNull String partitionName) Get information of one partition by name.- Parameters:
partitionName- partition name to get information- Returns:
ShowPartResponseWrapper.PartitionInfoinformation of the partition
-
toString
Construct aStringbyShowPartResponseWrapperinstance.
-