Package org.apache.lucene.search
Class PhraseWildcardQuery.TermData
- java.lang.Object
-
- org.apache.lucene.search.PhraseWildcardQuery.TermData
-
- Enclosing class:
- PhraseWildcardQuery
protected static class PhraseWildcardQuery.TermData extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
numSegments
protected List<Term>
terms
protected PhraseWildcardQuery.TermsData
termsData
protected List<PhraseWildcardQuery.TermBytesTermState>[]
termStatesPerSegment
-
Constructor Summary
Constructors Modifier Constructor Description protected
TermData(int numSegments, PhraseWildcardQuery.TermsData termsData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<PhraseWildcardQuery.TermBytesTermState>
getTermStatesForSegment(LeafReaderContext leafReaderContext)
protected void
setTermStatesForSegment(LeafReaderContext leafReaderContext, List<PhraseWildcardQuery.TermBytesTermState> termStates)
Sets the collected list ofPhraseWildcardQuery.TermBytesTermState
for the given segment.String
toString()
-
-
-
Field Detail
-
numSegments
protected final int numSegments
-
termsData
protected final PhraseWildcardQuery.TermsData termsData
-
termStatesPerSegment
protected List<PhraseWildcardQuery.TermBytesTermState>[] termStatesPerSegment
-
-
Constructor Detail
-
TermData
protected TermData(int numSegments, PhraseWildcardQuery.TermsData termsData)
-
-
Method Detail
-
setTermStatesForSegment
protected void setTermStatesForSegment(LeafReaderContext leafReaderContext, List<PhraseWildcardQuery.TermBytesTermState> termStates)
Sets the collected list ofPhraseWildcardQuery.TermBytesTermState
for the given segment.
-
getTermStatesForSegment
protected List<PhraseWildcardQuery.TermBytesTermState> getTermStatesForSegment(LeafReaderContext leafReaderContext)
- Returns:
- The collected list of
PhraseWildcardQuery.TermBytesTermState
for the given segment; or null if this phrase term does not match in the given segment.
-
-