Class DocumentShardInfo

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

public class DocumentShardInfo extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for document shard information.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the nodes.
    Gets the range.

    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
  • Constructor Details

    • DocumentShardInfo

      public DocumentShardInfo()
  • Method Details

    • getNodes

      public List<String> getNodes()
      Gets the nodes. List of nodes serving a replica of the shard.
      Returns:
      the nodes
    • getRange

      public String getRange()
      Gets the range. The shard range in which the document is stored.
      Returns:
      the range