Package com.ibm.cloud.cloudant.v1.model
Class PutDatabaseOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PutDatabaseOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PutDatabaseOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The putDatabase options.
-
Method Details
-
newBuilder
New builder.- Returns:
- a PutDatabaseOptions builder
-
db
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
partitioned
Gets the partitioned. Query parameter to specify whether to enable database partitions when creating a database.- Returns:
- the partitioned
-
q
Gets the q. The number of shards in the database. Each shard is a partition of the hash value range. Cloudant recommends using the default value for most databases. However, if your database is expected to be larger than 250 GB or have a lot of indexes, you may need to adjust the settings. In these cases, it's best to reach out to IBM Cloudant customer support for guidance on how to meet your specific needs and requirements.- Returns:
- the q
-