private static class CheckIndex.ConstantRelationIntersectVisitor extends java.lang.Object implements PointValues.IntersectVisitor
Modifier and Type | Field and Description |
---|---|
private PointValues.Relation |
relation |
Constructor and Description |
---|
ConstantRelationIntersectVisitor(PointValues.Relation relation) |
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
compare(byte[] minPackedValue,
byte[] maxPackedValue)
Called for non-leaf cells to test how the cell relates to the query, to
determine how to further recurse down the tree.
|
void |
visit(int docID)
Called for all documents in a leaf cell that's fully contained by the query.
|
void |
visit(int docID,
byte[] packedValue)
Called for all documents in a leaf cell that crosses the query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
grow
private final PointValues.Relation relation
ConstantRelationIntersectVisitor(PointValues.Relation relation)
public void visit(int docID) throws java.io.IOException
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
java.io.IOException
public void visit(int docID, byte[] packedValue) throws java.io.IOException
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
java.io.IOException
public PointValues.Relation compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.IntersectVisitor
compare
in interface PointValues.IntersectVisitor