Package com.ibm.cloud.cloudant.v1.model
Class IndexInformation
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.IndexInformation
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IndexInformation extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for information about an index.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IndexInformation.Type
Schema for the type of an index.
-
Constructor Summary
Constructors Constructor Description IndexInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDdoc()
Gets the ddoc.IndexDefinition
getDef()
Gets the def.String
getName()
Gets the name.String
getType()
Gets the type.
-
-
-
Method Detail
-
getDdoc
public String getDdoc()
Gets the ddoc. Design document ID.- 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
-
getType
public String getType()
Gets the type. Schema for the type of an index.- Returns:
- the type
-
-