Package com.ibm.cloud.cloudant.v1.model
Class DatabaseInformationCluster
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DatabaseInformationCluster
- All Implemented Interfaces:
ObjectModel
Schema for database cluster information.
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getN
Gets the n. Schema for the number of replicas of a database in a cluster. The cluster is using the default value and it cannot be changed by the user.- Returns:
- the n
-
getQ
Gets the q. Schema for the number of shards in a database. Each shard is a partition of the hash value range.- Returns:
- the q
-
getR
Gets the r. Read quorum. The number of consistent copies of a document that need to be read before a successful reply.- Returns:
- the r
-
getW
Gets the w. Write quorum. The number of copies of a document that need to be written before a successful reply.- Returns:
- the w
-