com.datastax.spark.connector.rdd.partitioner.dht.TokenFactory

RandomPartitionerTokenFactory

implicit object RandomPartitionerTokenFactory extends TokenFactory[BigInt, BigIntToken]

Linear Supertypes
TokenFactory[BigInt, BigIntToken], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RandomPartitionerTokenFactory
  2. TokenFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def distance(token1: BigIntToken, token2: BigIntToken): BigInt

    Number of tokens in a range from token1 to token2.

    Number of tokens in a range from token1 to token2. If token2 < token1, then range wraps around.

    Definition Classes
    RandomPartitionerTokenFactoryTokenFactory
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val maxToken: BigIntToken

  16. val minToken: BigIntToken

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def ringFraction(token1: BigIntToken, token2: BigIntToken): Double

    Fraction of the ring in a range from token1 to token2.

    Fraction of the ring in a range from token1 to token2. If token2 < token1, then range wraps around. Returns 1.0 for a full ring range, 0.0 for an empty range.

    Definition Classes
    TokenFactory
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. def tokenFromString(string: String): BigIntToken

    Creates a token from its string representation

    Creates a token from its string representation

    Definition Classes
    RandomPartitionerTokenFactoryTokenFactory
  24. def tokenToString(token: BigIntToken): String

    Converts a token to its string representation

    Converts a token to its string representation

    Definition Classes
    RandomPartitionerTokenFactoryTokenFactory
  25. val totalTokenCount: BigInt

    Total token count in a ring.

    Total token count in a ring.

    Definition Classes
    RandomPartitionerTokenFactoryTokenFactory
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TokenFactory[BigInt, BigIntToken]

Inherited from AnyRef

Inherited from Any

Ungrouped