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:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DatabaseInformationCluster extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for database cluster information.
-
-
Constructor Summary
Constructors Constructor Description DatabaseInformationCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getN()
Gets the n.Long
getQ()
Gets the q.Long
getR()
Gets the r.Long
getW()
Gets the w.
-
-
-
Method Detail
-
getN
public Long getN()
Gets the n. Schema for the number of replicas of a database in a cluster.- Returns:
- the n
-
getQ
public Long 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
public Long 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
public Long 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
-
-