Package io.objectbox.query
Class IdWithScore
java.lang.Object
io.objectbox.query.IdWithScore
Wraps the ID of a matching object and a score when using
Query.findIdsWithScores(long, long).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdWithScore
public IdWithScore(long id, double score)
-
-
Method Details
-
getId
public long getId()Returns the object ID. -
getScore
public double getScore()Returns the query score for theid.The query score indicates some quality measurement. E.g. for vector nearest neighbor searches, the score is the distance to the given vector.
-