Class ShowPartResponseWrapper


  • public class ShowPartResponseWrapper
    extends java.lang.Object
    Util class to wrap response of showPartitions interface.
    • Constructor Detail

      • ShowPartResponseWrapper

        public ShowPartResponseWrapper​(@NonNull
                                       @NonNull io.milvus.grpc.ShowPartitionsResponse response)
    • Method Detail

      • getPartitionInfoByName

        public ShowPartResponseWrapper.PartitionInfo getPartitionInfoByName​(@NonNull
                                                                            @NonNull java.lang.String partitionName)
        Get information of one partition by name.
        Parameters:
        partitionName - partition name to get information
        Returns:
        PartitionInfo information of the partition
      • toString

        public java.lang.String toString()
        Construct a String by ShowPartResponseWrapper instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String