public static class OffsetsEnum.OfMatchesIteratorWithSubs extends OffsetsEnum
MatchesIterator with submatches.OffsetsEnum.MultiOffsetsEnum, OffsetsEnum.OfMatchesIterator, OffsetsEnum.OfMatchesIteratorWithSubs, OffsetsEnum.OfPostingsEMPTY| Constructor and Description |
|---|
OfMatchesIteratorWithSubs(MatchesIterator matchesIterator) |
| Modifier and Type | Method and Description |
|---|---|
int |
endOffset() |
int |
freq()
An estimate of the number of occurrences of this term/OffsetsEnum.
|
BytesRef |
getTerm()
The term at this position.
|
boolean |
nextPosition()
Advances to the next position and returns true, or if can't then returns false.
|
int |
startOffset() |
close, compareTo, toStringpublic OfMatchesIteratorWithSubs(MatchesIterator matchesIterator)
public boolean nextPosition()
throws java.io.IOException
OffsetsEnumnextPosition in class OffsetsEnumjava.io.IOExceptionpublic int freq()
throws java.io.IOException
OffsetsEnumfreq in class OffsetsEnumjava.io.IOExceptionpublic BytesRef getTerm() throws java.io.IOException
OffsetsEnumgetTerm in class OffsetsEnumjava.io.IOExceptionPassage.getMatchTerms()public int startOffset()
throws java.io.IOException
startOffset in class OffsetsEnumjava.io.IOExceptionpublic int endOffset()
throws java.io.IOException
endOffset in class OffsetsEnumjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.