public class DescIndexResponseWrapper
extends java.lang.Object
describeIndex
interface.Modifier and Type | Class and Description |
---|---|
static class |
DescIndexResponseWrapper.IndexDesc
Internal-use class to wrap response of
describeIndex interface. |
Constructor and Description |
---|
DescIndexResponseWrapper(@NonNull io.milvus.grpc.DescribeIndexResponse response) |
Modifier and Type | Method and Description |
---|---|
DescIndexResponseWrapper.IndexDesc |
getIndexDescByFieldName(@NonNull java.lang.String fieldName)
Get index description by field name.
|
DescIndexResponseWrapper.IndexDesc |
getIndexDescByIndexName(@NonNull java.lang.String indexName)
Get index description by index name.
|
java.util.List<DescIndexResponseWrapper.IndexDesc> |
getIndexDescriptions()
Get index description of fields.
|
public DescIndexResponseWrapper(@NonNull @NonNull io.milvus.grpc.DescribeIndexResponse response)
public java.util.List<DescIndexResponseWrapper.IndexDesc> getIndexDescriptions()
public DescIndexResponseWrapper.IndexDesc getIndexDescByFieldName(@NonNull @NonNull java.lang.String fieldName)
fieldName
- field name to get index descriptionDescIndexResponseWrapper.IndexDesc
description of the indexpublic DescIndexResponseWrapper.IndexDesc getIndexDescByIndexName(@NonNull @NonNull java.lang.String indexName)
indexName
- index name to get index descriptionDescIndexResponseWrapper.IndexDesc
description of the index