Class DecoratedKey
- java.lang.Object
-
- org.apache.cassandra.spark.bulkwriter.DecoratedKey
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DecoratedKey>
public class DecoratedKey extends java.lang.Object implements java.lang.Comparable<DecoratedKey>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DecoratedKey that)booleanequals(java.lang.Object other)java.nio.ByteBuffergetKey()java.math.BigIntegergetToken()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getToken
@NotNull public java.math.BigInteger getToken()
-
getKey
@NotNull public java.nio.ByteBuffer getKey()
-
compareTo
public int compareTo(@NotNull DecoratedKey that)- Specified by:
compareToin interfacejava.lang.Comparable<DecoratedKey>
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-