Class PrimaryKeyWithScore

java.lang.Object
org.apache.cassandra.index.sai.disk.v1.vector.PrimaryKeyWithScore
All Implemented Interfaces:
Comparable<PrimaryKeyWithScore>

public class PrimaryKeyWithScore extends Object implements Comparable<PrimaryKeyWithScore>
A PrimaryKey with one piece of metadata. Subclasses define the metadata, and to prevent unnecessary boxing, the metadata is not referenced in this class. The metadata is not used to determine equality or hash code, but it is used to compare the PrimaryKey objects. Note: this class has a natural ordering that is inconsistent with equals.