public static class OffsetsEnum.OfMatchesIteratorWithSubs extends OffsetsEnum
MatchesIterator
with submatches.OffsetsEnum.MultiOffsetsEnum, OffsetsEnum.OfMatchesIterator, OffsetsEnum.OfMatchesIteratorWithSubs, OffsetsEnum.OfPostings
EMPTY
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, toString
public OfMatchesIteratorWithSubs(MatchesIterator matchesIterator)
public boolean nextPosition() throws java.io.IOException
OffsetsEnum
nextPosition
in class OffsetsEnum
java.io.IOException
public int freq() throws java.io.IOException
OffsetsEnum
freq
in class OffsetsEnum
java.io.IOException
public BytesRef getTerm() throws java.io.IOException
OffsetsEnum
getTerm
in class OffsetsEnum
java.io.IOException
Passage.getMatchTerms()
public int startOffset() throws java.io.IOException
startOffset
in class OffsetsEnum
java.io.IOException
public int endOffset() throws java.io.IOException
endOffset
in class OffsetsEnum
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.