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.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the n.
    Gets the q.
    Gets the r.
    Gets the w.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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