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
Modifier and TypeClassDescriptionstatic interface
Schema for the type of an index. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getDdoc
Gets the ddoc. Design document ID including a `_design/` prefix.- Returns:
- the ddoc
-
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
Gets the name. Index name.- Returns:
- the name
-
isPartitioned
Gets the partitioned. Indicates if index is partitioned.- Returns:
- the partitioned
-
getType
Gets the type. Schema for the type of an index.- Returns:
- the type
-