RingPosition (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.dht

## Interface RingPosition<T>

- All Superinterfaces:
    java.lang.Comparable<T>
  All Known Subinterfaces:
    RowPosition
  All Known Implementing Classes:
    BigIntegerToken, BufferDecoratedKey, BytesToken, DecoratedKey, LocalToken, LongToken, NativeDecoratedKey, StringToken, Token, Token.KeyBound

      public interface RingPosition<T>
      extends java.lang.Comparable<T>

  Interface representing a position on the ring. Both Token and DecoratedKey represent a position in the ring, a token being less precise than a DecoratedKey (a token is really a range of keys).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Token` | `getToken()`
    `boolean` | `isMinimum(IPartitioner partitioner)`

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Method Detail

    - #### getToken

          Token getToken()

    - #### isMinimum

          boolean isMinimum(IPartitioner partitioner)

Copyright © 2014 The Apache Software Foundation