public static interface PointValues.IntersectVisitor
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.
|
default void |
grow(int count)
Notifies the caller that this many documents are about to be visited
|
default void |
visit(DocIdSetIterator iterator,
byte[] packedValue)
Similar to
visit(int, byte[]) but in this case the packedValue
can have more than one docID associated to it. |
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.
|
void visit(int docID) throws IOException
IOException
void visit(int docID, byte[] packedValue) throws IOException
IOException
default void visit(DocIdSetIterator iterator, byte[] packedValue) throws IOException
visit(int, byte[])
but in this case the packedValue
can have more than one docID associated to it. The provided iterator should not escape the
scope of this method so that implementations of PointValues are free to reuse it,IOException
PointValues.Relation compare(byte[] minPackedValue, byte[] maxPackedValue)
default void grow(int count)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.