protected static class PhraseWildcardQuery.TermData extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
numSegments |
protected List<Term> |
terms |
protected PhraseWildcardQuery.TermsData |
termsData |
protected List<PhraseWildcardQuery.TermBytesTermState>[] |
termStatesPerSegment |
Modifier | Constructor and Description |
---|---|
protected |
TermData(int numSegments,
PhraseWildcardQuery.TermsData termsData) |
Modifier and Type | Method and Description |
---|---|
protected List<PhraseWildcardQuery.TermBytesTermState> |
getTermStatesForSegment(LeafReaderContext leafReaderContext) |
protected void |
setTermStatesForSegment(LeafReaderContext leafReaderContext,
List<PhraseWildcardQuery.TermBytesTermState> termStates)
Sets the collected list of
PhraseWildcardQuery.TermBytesTermState for the given segment. |
String |
toString() |
protected final int numSegments
protected final PhraseWildcardQuery.TermsData termsData
protected List<PhraseWildcardQuery.TermBytesTermState>[] termStatesPerSegment
protected TermData(int numSegments, PhraseWildcardQuery.TermsData termsData)
protected void setTermStatesForSegment(LeafReaderContext leafReaderContext, List<PhraseWildcardQuery.TermBytesTermState> termStates)
PhraseWildcardQuery.TermBytesTermState
for the given segment.protected List<PhraseWildcardQuery.TermBytesTermState> getTermStatesForSegment(LeafReaderContext leafReaderContext)
PhraseWildcardQuery.TermBytesTermState
for the given segment;
or null if this phrase term does not match in the given segment.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.