Package org.apache.cassandra.db
Class PreHashedDecoratedKey
- java.lang.Object
-
- org.apache.cassandra.db.DecoratedKey
-
- org.apache.cassandra.db.BufferDecoratedKey
-
- org.apache.cassandra.db.PreHashedDecoratedKey
-
- All Implemented Interfaces:
java.lang.Comparable<PartitionPosition>,PartitionPosition,RingPosition<PartitionPosition>,IFilter.FilterKey
public class PreHashedDecoratedKey extends BufferDecoratedKey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.db.PartitionPosition
PartitionPosition.ForKey, PartitionPosition.Kind, PartitionPosition.RowPositionSerializer
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.db.DecoratedKey
comparator
-
Fields inherited from interface org.apache.cassandra.db.PartitionPosition
serializer
-
-
Constructor Summary
Constructors Constructor Description PreHashedDecoratedKey(Token token, java.nio.ByteBuffer key, long hash0, long hash1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilterHash(long[] dest)Places the murmur3 hash of the key in the given long array of size at least two.-
Methods inherited from class org.apache.cassandra.db.BufferDecoratedKey
getKey
-
Methods inherited from class org.apache.cassandra.db.DecoratedKey
compareTo, compareTo, equals, getPartitioner, getToken, hashCode, isMinimum, kind, minValue, toCQLString, toString
-
-
-
-
Constructor Detail
-
PreHashedDecoratedKey
public PreHashedDecoratedKey(Token token, java.nio.ByteBuffer key, long hash0, long hash1)
-
-
Method Detail
-
filterHash
public void filterHash(long[] dest)
Description copied from interface:IFilter.FilterKeyPlaces the murmur3 hash of the key in the given long array of size at least two.- Specified by:
filterHashin interfaceIFilter.FilterKey- Overrides:
filterHashin classDecoratedKey
-
-