Class DescIndexResponseWrapper


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

      • DescIndexResponseWrapper

        public DescIndexResponseWrapper​(@NonNull
                                        @NonNull DescribeIndexResponse response)
    • Method Detail

      • getIndexDescByFieldName

        public DescIndexResponseWrapper.IndexDesc getIndexDescByFieldName​(@NonNull
                                                                          @NonNull 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:
        IndexDesc description of the index
      • toString

        public String toString()
        Construct a String by DescIndexResponseWrapper instance.
        Overrides:
        toString in class Object
        Returns:
        String