Package io.milvus.response
Class ShowCollResponseWrapper
java.lang.Object
io.milvus.response.ShowCollResponseWrapper
Util class to wrap response of
showCollections interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInternal-use class to wrap response ofshowCollectionsinterface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCollectionInfoByName(@NonNull String collectionName) Get information of one collection by name.Get information of the collections.toString()Construct aStringbyShowCollResponseWrapperinstance.
-
Constructor Details
-
ShowCollResponseWrapper
-
-
Method Details
-
getCollectionNames
-
getCollectionsInfo
public List<ShowCollResponseWrapper.CollectionInfo> getCollectionsInfo() throws IllegalResponseExceptionGet information of the collections.- Returns:
- List of CollectionInfo, information array of the collections
- Throws:
IllegalResponseException
-
getCollectionInfoByName
public ShowCollResponseWrapper.CollectionInfo getCollectionInfoByName(@NonNull @NonNull String collectionName) Get information of one collection by name.- Parameters:
collectionName- collection name to get information- Returns:
ShowCollResponseWrapper.CollectionInfoinformation of the collection
-
toString
Construct aStringbyShowCollResponseWrapperinstance.
-