Class DatabaseInformationCluster

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DatabaseInformationCluster
All Implemented Interfaces:
ObjectModel

public class DatabaseInformationCluster extends GenericModel
Schema for database cluster information.
  • Method Details

    • getN

      public Long 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

      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