Package io.milvus.response
Class DescIndexResponseWrapper
- java.lang.Object
-
- io.milvus.response.DescIndexResponseWrapper
-
public class DescIndexResponseWrapper extends java.lang.Object
Util class to wrap response ofdescribeIndex
interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescIndexResponseWrapper.IndexDesc
Internal-use class to wrap response ofdescribeIndex
interface.
-
Constructor Summary
Constructors Constructor Description DescIndexResponseWrapper(@NonNull io.milvus.grpc.DescribeIndexResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescIndexResponseWrapper.IndexDesc
getIndexDescByFieldName(@NonNull java.lang.String fieldName)
Get index description by field name.java.util.List<DescIndexResponseWrapper.IndexDesc>
getIndexDescriptions()
Get index description of fields.java.lang.String
toString()
Construct aString
byDescIndexResponseWrapper
instance.
-
-
-
Method Detail
-
getIndexDescriptions
public java.util.List<DescIndexResponseWrapper.IndexDesc> getIndexDescriptions()
Get index description of fields.- Returns:
- List of IndexDesc, index description of fields
-
getIndexDescByFieldName
public DescIndexResponseWrapper.IndexDesc getIndexDescByFieldName(@NonNull @NonNull java.lang.String fieldName)
Get index description by field name. Return null if the field doesn't exist- Parameters:
fieldName
- field name to get index description- Returns:
DescIndexResponseWrapper.IndexDesc
description of the index
-
toString
public java.lang.String toString()
Construct aString
byDescIndexResponseWrapper
instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
String
-
-