Class ShowCollResponseWrapper


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

      • ShowCollResponseWrapper

        public ShowCollResponseWrapper​(@NonNull
                                       @NonNull io.milvus.grpc.ShowCollectionsResponse response)
    • Method Detail

      • getCollectionInfoByName

        public ShowCollResponseWrapper.CollectionInfo getCollectionInfoByName​(@NonNull
                                                                              @NonNull java.lang.String collectionName)
        Get information of one collection by name.
        Parameters:
        collectionName - collection name to get information
        Returns:
        CollectionInfo information of the collection
      • toString

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