public class ShowCollResponseWrapper
extends java.lang.Object
showCollections interface.| Modifier and Type | Class and Description |
|---|---|
static class |
ShowCollResponseWrapper.CollectionInfo
Internal-use class to wrap response of
showCollections interface. |
| Constructor and Description |
|---|
ShowCollResponseWrapper(@NonNull io.milvus.grpc.ShowCollectionsResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ShowCollResponseWrapper.CollectionInfo |
getCollectionInfoByName(@NonNull java.lang.String collectionName)
Get information of one collection by name.
|
java.util.List<ShowCollResponseWrapper.CollectionInfo> |
getCollectionsInfo()
Get information of the collections.
|
java.lang.String |
toString()
Construct a
String by ShowCollResponseWrapper instance. |
public ShowCollResponseWrapper(@NonNull
@NonNull io.milvus.grpc.ShowCollectionsResponse response)
public java.util.List<ShowCollResponseWrapper.CollectionInfo> getCollectionsInfo() throws IllegalResponseException
IllegalResponseExceptionpublic ShowCollResponseWrapper.CollectionInfo getCollectionInfoByName(@NonNull @NonNull java.lang.String collectionName)
collectionName - collection name to get informationShowCollResponseWrapper.CollectionInfo information of the collectionpublic java.lang.String toString()
String by ShowCollResponseWrapper instance.toString in class java.lang.ObjectString