class CachingMatchesIterator extends FilterMatchesIterator
| Modifier and Type | Field and Description |
|---|---|
private int |
count |
private Query[] |
matchingQueries |
private int[] |
posAndOffsets |
private boolean |
positioned |
in| Constructor and Description |
|---|
CachingMatchesIterator(MatchesIterator in) |
| Modifier and Type | Method and Description |
|---|---|
private void |
cache() |
(package private) int |
endOffset(int endPos) |
(package private) MatchesIterator |
getSubMatches(int endPos) |
boolean |
next()
Advance the iterator to the next match position
|
(package private) int |
startOffset(int endPos) |
endOffset, endPosition, getQuery, getSubMatches, startOffset, startPositionprivate boolean positioned
private int[] posAndOffsets
private Query[] matchingQueries
private int count
CachingMatchesIterator(MatchesIterator in)
private void cache()
throws java.io.IOException
java.io.IOExceptionpublic boolean next()
throws java.io.IOException
MatchesIteratornext in interface MatchesIteratornext in class FilterMatchesIteratortrue if matches have not been exhaustedjava.io.IOExceptionint startOffset(int endPos)
throws java.io.IOException
java.io.IOExceptionint endOffset(int endPos)
throws java.io.IOException
java.io.IOExceptionMatchesIterator getSubMatches(int endPos) throws java.io.IOException
java.io.IOException