Class RecordQueryScoreForRankPlan.ScoreForRank
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.plans.RecordQueryScoreForRankPlan.ScoreForRank
-
- All Implemented Interfaces:
PlanHashable
- Enclosing class:
- RecordQueryScoreForRankPlan
public static class RecordQueryScoreForRankPlan.ScoreForRank extends Object implements PlanHashable
A single conversion of a rank to a score to be bound to some name.
-
-
Constructor Summary
Constructors Constructor Description ScoreForRank(String bindingName, Function<Tuple,Object> bindingFunction, IndexAggregateFunction function, List<Comparisons.Comparison> comparisons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBindingName()
int
hashCode()
int
planHash()
Return a hash similar tohashCode
, but with the additional guarantee that is is stable across JVMs.String
toString()
-
-
-
Method Detail
-
planHash
public int planHash()
Description copied from interface:PlanHashable
Return a hash similar tohashCode
, but with the additional guarantee that is is stable across JVMs.- Specified by:
planHash
in interfacePlanHashable
- Returns:
- a stable hash code
-
-