Package com.yahoo.search.dispatch
Class LeanHit
- java.lang.Object
-
- com.yahoo.search.dispatch.LeanHit
-
- All Implemented Interfaces:
Comparable<LeanHit>
public class LeanHit extends Object implements Comparable<LeanHit>
- Author:
- baldersheim
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMatchFeatures(com.yahoo.data.access.Inspector features)
int
compareTo(LeanHit o)
int
getDistributionKey()
byte[]
getGid()
FeatureData
getMatchFeatures()
int
getPartId()
double
getRelevance()
byte[]
getSortData()
boolean
hasMatchFeatures()
boolean
hasSortData()
-
-
-
Method Detail
-
getRelevance
public double getRelevance()
-
getGid
public byte[] getGid()
-
getSortData
public byte[] getSortData()
-
hasSortData
public boolean hasSortData()
-
getPartId
public int getPartId()
-
getDistributionKey
public int getDistributionKey()
-
getMatchFeatures
public FeatureData getMatchFeatures()
-
hasMatchFeatures
public boolean hasMatchFeatures()
-
addMatchFeatures
public void addMatchFeatures(com.yahoo.data.access.Inspector features)
-
compareTo
public int compareTo(LeanHit o)
- Specified by:
compareTo
in interfaceComparable<LeanHit>
-
-