public class RowCacheKey extends java.lang.Object implements CacheKey, java.lang.Comparable<RowCacheKey>
Constructor and Description |
---|
RowCacheKey(java.util.UUID cfId,
java.nio.ByteBuffer key) |
RowCacheKey(java.util.UUID cfId,
DecoratedKey key) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RowCacheKey otherKey) |
boolean |
equals(java.lang.Object o) |
Pair<java.lang.String,java.lang.String> |
getPathInfo() |
int |
hashCode() |
long |
memorySize() |
java.lang.String |
toString() |
public RowCacheKey(java.util.UUID cfId, DecoratedKey key)
public RowCacheKey(java.util.UUID cfId, java.nio.ByteBuffer key)
public Pair<java.lang.String,java.lang.String> getPathInfo()
getPathInfo
in interface CacheKey
public long memorySize()
memorySize
in interface IMeasurableMemory
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RowCacheKey otherKey)
compareTo
in interface java.lang.Comparable<RowCacheKey>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 The Apache Software Foundation