milvus-logo

Class DescIndexResponseWrapper

  • java.lang.Object
    • io.milvus.response.DescIndexResponseWrapper

  • public class DescIndexResponseWrapper
    extends java.lang.Object
    Util class to wrap response of describeIndex interface.
    • Constructor Detail

      • DescIndexResponseWrapper

        public DescIndexResponseWrapper​(@NonNull
                                        @NonNull io.milvus.grpc.DescribeIndexResponse response)
    • Method Detail

      • getIndexDescriptions

        public java.util.List<DescIndexResponseWrapper.IndexDesc> getIndexDescriptions()
        Get index description of fields.
        Returns:
        List<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 a String by DescIndexResponseWrapper instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String