public static class CheckIndex.VerifyPointsVisitor extends java.lang.Object implements PointValues.IntersectVisitor
Modifier and Type | Field and Description |
---|---|
private int |
bytesPerDim |
private FixedBitSet |
docsSeen |
private java.lang.String |
fieldName |
private byte[] |
globalMaxPackedValue |
private byte[] |
globalMinPackedValue |
private int |
lastDocID |
private byte[] |
lastMaxPackedValue |
private byte[] |
lastMinPackedValue |
private byte[] |
lastPackedValue |
private int |
maxDoc |
private int |
numDataDims |
private int |
numIndexDims |
private int |
packedBytesCount |
private int |
packedIndexBytesCount |
private long |
pointCountSeen |
Constructor and Description |
---|
VerifyPointsVisitor(java.lang.String fieldName,
int maxDoc,
PointValues values)
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
private void |
checkPackedValue(java.lang.String desc,
byte[] packedValue,
int docID) |
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.
|
long |
getDocCountSeen()
Returns total number of unique docIDs in this BKD tree
|
long |
getPointCountSeen()
Returns total number of points in this BKD 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 long pointCountSeen
private int lastDocID
private final int maxDoc
private final FixedBitSet docsSeen
private final byte[] lastMinPackedValue
private final byte[] lastMaxPackedValue
private final byte[] lastPackedValue
private final byte[] globalMinPackedValue
private final byte[] globalMaxPackedValue
private final int packedBytesCount
private final int packedIndexBytesCount
private final int numDataDims
private final int numIndexDims
private final int bytesPerDim
private final java.lang.String fieldName
public VerifyPointsVisitor(java.lang.String fieldName, int maxDoc, PointValues values) throws java.io.IOException
java.io.IOException
public long getPointCountSeen()
public long getDocCountSeen()
public void visit(int docID)
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
public void visit(int docID, byte[] packedValue)
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
public PointValues.Relation compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.IntersectVisitor
compare
in interface PointValues.IntersectVisitor
private void checkPackedValue(java.lang.String desc, byte[] packedValue, int docID)