Class GetIndexesResult.IndexInfo

  • Enclosing class:
    GetIndexesResult

    public static class GetIndexesResult.IndexInfo
    extends Object
    IndexInfo represents the information about a single index including its name and field names.
    • Method Detail

      • getIndexName

        public String getIndexName()
        Returns the name of the index.
        Returns:
        the index name
      • getFieldNames

        public String[] getFieldNames()
        Returns the array of field names that define the index.
        Returns:
        the field names
      • getFieldTypes

        public String[] getFieldTypes()
        Returns the array of field types corresponding to the array of field names. The type is only non-null if the index is on a field of type JSON and is explicitly typed. If using a server that does not support this information, this will be null
        Returns:
        the field types
        Since:
        5.4