Class SequenceNumberRange

    • Constructor Detail

      • SequenceNumberRange

        public SequenceNumberRange()
    • Method Detail

      • setStartingSequenceNumber

        public void setStartingSequenceNumber​(String startingSequenceNumber)

        The starting sequence number for the range.

        Parameters:
        startingSequenceNumber - The starting sequence number for the range.
      • getStartingSequenceNumber

        public String getStartingSequenceNumber()

        The starting sequence number for the range.

        Returns:
        The starting sequence number for the range.
      • withStartingSequenceNumber

        public SequenceNumberRange withStartingSequenceNumber​(String startingSequenceNumber)

        The starting sequence number for the range.

        Parameters:
        startingSequenceNumber - The starting sequence number for the range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndingSequenceNumber

        public void setEndingSequenceNumber​(String endingSequenceNumber)

        The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

        Parameters:
        endingSequenceNumber - The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.
      • getEndingSequenceNumber

        public String getEndingSequenceNumber()

        The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

        Returns:
        The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.
      • withEndingSequenceNumber

        public SequenceNumberRange withEndingSequenceNumber​(String endingSequenceNumber)

        The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.

        Parameters:
        endingSequenceNumber - The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object