Class IndexInformation

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.IndexInformation
All Implemented Interfaces:
ObjectModel

public class IndexInformation extends GenericModel
Schema for information about an index.
  • Method Details

    • getDdoc

      public String getDdoc()
      Gets the ddoc. Design document ID including a `_design/` prefix.
      Returns:
      the ddoc
    • getDef

      public IndexDefinition getDef()
      Gets the def. Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration properties that do not apply to `json` indexes, these are: * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all document fields and what analyzer to use for that purpose.
      Returns:
      the def
    • getName

      public String getName()
      Gets the name. Index name.
      Returns:
      the name
    • isPartitioned

      public Boolean isPartitioned()
      Gets the partitioned. Indicates if index is partitioned.
      Returns:
      the partitioned
    • getType

      public String getType()
      Gets the type. Schema for the type of an index.
      Returns:
      the type