Package com.yahoo.search.predicate
Class Hit
- java.lang.Object
-
- com.yahoo.search.predicate.Hit
-
- All Implemented Interfaces:
Comparable<Hit>
public class Hit extends Object implements Comparable<Hit>
Represents a hit from the predicate search algorithm. Each hit is associated with a subquery bitmap, indicating which subqueries the hit represents.- Author:
- Magnar Nedland
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Hit o)
boolean
equals(Object o)
int
getDocId()
long
getSubquery()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getDocId
public int getDocId()
-
getSubquery
public long getSubquery()
-
compareTo
public int compareTo(Hit o)
- Specified by:
compareTo
in interfaceComparable<Hit>
-
-