public class STIntersectBlockReader extends IntersectBlockReader
TermsEnum response to
STUniformSplitTerms.intersect(CompiledAutomaton, BytesRef),
intersecting the terms with an automaton.IntersectBlockReader.AutomatonNextTermCalculatorTermsEnum.SeekStatus| Modifier and Type | Field and Description |
|---|---|
protected FieldInfos |
fieldInfos |
beyondCommonPrefix, blockPrefixLen, blockPrefixRunAutomatonState, commonPrefixRef, commonSuffixRef, nextStringCalculator, numBytesAccepted, runAutomaton, seekTerm, startTermblockDecoder, blockFirstLineStart, blockHeader, blockInput, blockLine, blockLineReader, blockReadBuffer, blockStartFP, dictionaryBrowser, dictionaryBrowserSupplier, fieldMetadata, forcedTerm, lineIndexInBlock, postingsReader, scratchBlockBytes, scratchTermState, termState, termStateForced, termStateSerializer, termStatesReadBuffer| Constructor and Description |
|---|
STIntersectBlockReader(CompiledAutomaton compiled,
BytesRef startTerm,
DictionaryBrowserSupplier dictionaryBrowserSupplier,
IndexInput blockInput,
PostingsReaderBase postingsReader,
FieldMetadata fieldMetadata,
BlockDecoder blockDecoder,
FieldInfos fieldInfos) |
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
next() |
protected boolean |
nextBlockMatchingPrefix()
Find the next block that appears to contain terms that could match the automata.
|
protected BlockTermState |
readTermState()
Reads the
BlockTermState on the current line for the specific field
corresponding this this reader. |
isBeyondCommonPrefix, nextTermInBlockMatching, runAutomatonForState, runAutomatonFromPrefix, seekCeil, seekExact, seekExact, seekExactclearTermState, compareToMiddleAndJump, decodeBlockBytesIfNeeded, docFreq, getOrCreateDictionaryBrowser, impacts, initializeBlockReadLazily, initializeHeader, isBeyondLastTerm, isCurrentTerm, nextTerm, ord, postings, ramBytesUsed, readHeader, readLineInBlock, readTermStateIfNotRead, seekInBlock, seekInBlock, term, termState, totalTermFreqattributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesprotected final FieldInfos fieldInfos
public STIntersectBlockReader(CompiledAutomaton compiled, BytesRef startTerm, DictionaryBrowserSupplier dictionaryBrowserSupplier, IndexInput blockInput, PostingsReaderBase postingsReader, FieldMetadata fieldMetadata, BlockDecoder blockDecoder, FieldInfos fieldInfos) throws IOException
IOExceptionpublic BytesRef next() throws IOException
next in interface BytesRefIteratornext in class IntersectBlockReaderIOExceptionprotected boolean nextBlockMatchingPrefix()
throws IOException
IntersectBlockReadernextBlockMatchingPrefix in class IntersectBlockReaderIOExceptionprotected BlockTermState readTermState() throws IOException
BlockTermState on the current line for the specific field
corresponding this this reader.
Changes the current BlockTermState to null if the term does not
occur for the field.readTermState in class BlockReaderBlockTermState; or null if none.IOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.