public class DescCollResponseWrapper
extends java.lang.Object
describeCollection
interface.Constructor | Description |
---|---|
DescCollResponseWrapper(@NonNull io.milvus.grpc.DescribeCollectionResponse response) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<java.lang.String> |
getAliases() |
Get aliases of the collection.
|
java.lang.String |
getCollectionDescription() |
Get description of the collection.
|
long |
getCollectionID() |
Get internal id of the collection.
|
java.lang.String |
getCollectionName() |
Get name of the collection.
|
long |
getCreatedUtcTimestamp() |
Get utc timestamp when collection created.
|
FieldType |
getFieldByName(@NonNull java.lang.String fieldName) |
Get schema of a field by name.
|
java.util.List<FieldType> |
getFields() |
Get schema of the collection's fields.
|
int |
getShardNumber() |
Get shard number of the collection.
|
java.lang.String |
toString() |
Construct a
String by DescCollResponseWrapper instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public DescCollResponseWrapper(@NonNull
@NonNull io.milvus.grpc.DescribeCollectionResponse response)
public java.lang.String getCollectionName()
String
name of the collectionpublic java.lang.String getCollectionDescription()
String
description of the collectionpublic long getCollectionID()
long
internal id of the collectionpublic int getShardNumber()
int
shard number of the collectionpublic long getCreatedUtcTimestamp()
long
utc timestamp when collection createdpublic java.util.List<java.lang.String> getAliases()
public java.util.List<FieldType> getFields()
public FieldType getFieldByName(@NonNull
@NonNull java.lang.String fieldName)
fieldName
- field name to get field descriptionFieldType
schema of the fieldpublic java.lang.String toString()
String
by DescCollResponseWrapper
instance.toString
in class java.lang.Object
String