Package io.objectbox.query
Class ObjectWithScore<T>
java.lang.Object
io.objectbox.query.ObjectWithScore<T>
Wraps a matching object and a score when using
Query.findWithScores(long, long).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectWithScore
-
-
Method Details
-
get
Returns the matching object. -
getScore
public double getScore()Returns the query score for theobject.The query score indicates some quality measurement. E.g. for vector nearest neighbor searches, the score is the distance to the given vector.
-