Class PrimaryKeyWithScore
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.vector.PrimaryKeyWithScore
- All Implemented Interfaces:
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrimaryKeyWithScore(ColumnMetadata columnMetadata, CellSourceIdentifier sourceTable, PrimaryKey primaryKey, float indexScore) -
Method Summary
-
Field Details
-
columnMetadata
-
-
Constructor Details
-
PrimaryKeyWithScore
public PrimaryKeyWithScore(ColumnMetadata columnMetadata, CellSourceIdentifier sourceTable, PrimaryKey primaryKey, float indexScore)
-
-
Method Details
-
-
isIndexDataValid
-
compareTo
- Specified by:
compareToin interfaceComparable<PrimaryKeyWithScore>
-