Class UUIDType

java.lang.Object
org.apache.cassandra.db.marshal.AbstractType<UUID>
org.apache.cassandra.db.marshal.UUIDType
All Implemented Interfaces:
Comparator<ByteBuffer>, AssignmentTestable

public class UUIDType extends AbstractType<UUID>
Compares UUIDs using the following criteria:
- if count of supplied bytes is less than 16, compare counts
- compare UUID version fields
- nil UUID is always lesser
- compare timestamps if both are time-based
- compare lexically, unsigned msb-to-lsb comparison
See Also:
  • "com.fasterxml.uuid.UUIDComparator"