Package com.ibm.cloud.cloudant.v1.model
Class PostIndexOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PostIndexOptions
- All Implemented Interfaces:
 ObjectModel
The postIndex options.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder.static interfaceSchema 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
- 
newBuilder
New builder.- Returns:
 - a PostIndexOptions builder
 
 - 
db
Gets the db. Path parameter to specify the database name.- Returns:
 - the db
 
 - 
index
Gets the index. 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 index
 
 - 
ddoc
Gets the ddoc. Specifies the design document name in which the index will be created. The design document name is the design document ID excluding the `_design/` prefix.- Returns:
 - the ddoc
 
 - 
name
Gets the name. name.- Returns:
 - the name
 
 - 
partitioned
Gets the partitioned. The default value is `true` for databases with `partitioned: true` and `false` otherwise. For databases with `partitioned: false` if this option is specified the value must be `false`.- Returns:
 - the partitioned
 
 - 
type
Gets the type. Schema for the type of an index.- Returns:
 - the type
 
 
 -