public static class RandomPartitioner.BigIntegerToken extends Token
Token.KeyBound, Token.TokenFactory, Token.TokenSerializer
serializer
Constructor and Description |
---|
BigIntegerToken(java.math.BigInteger token) |
BigIntegerToken(java.lang.String token) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Token o) |
boolean |
equals(java.lang.Object obj) |
long |
getHeapSize() |
IPartitioner |
getPartitioner() |
C |
getTokenValue() |
int |
hashCode() |
java.lang.String |
toString() |
getToken, isMinimum, maxKeyBound, minKeyBound, minValue, upperBound
public BigIntegerToken(java.math.BigInteger token)
public BigIntegerToken(java.lang.String token)
public IPartitioner getPartitioner()
getPartitioner
in interface RingPosition<Token>
getPartitioner
in class Token
public long getHeapSize()
getHeapSize
in class Token
public C getTokenValue()
getTokenValue
in class Token
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Token o)
Copyright © 2020 The Apache Software Foundation