public static class FSTDictionary.BrowserSupplier extends Object implements IndexDictionary.BrowserSupplier
FSTDictionary.Browser to seek in the FSTDictionary.| Modifier and Type | Field and Description |
|---|---|
protected BlockDecoder |
blockDecoder |
protected IndexDictionary |
dictionary
Lazy loaded immutable index dictionary (trie hold in RAM).
|
protected IndexInput |
dictionaryInput |
| Constructor and Description |
|---|
BrowserSupplier(IndexInput dictionaryInput,
long startFilePointer,
BlockDecoder blockDecoder) |
| Modifier and Type | Method and Description |
|---|---|
IndexDictionary.Browser |
get() |
long |
ramBytesUsed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesprotected final IndexInput dictionaryInput
protected final BlockDecoder blockDecoder
protected IndexDictionary dictionary
public BrowserSupplier(IndexInput dictionaryInput, long startFilePointer, BlockDecoder blockDecoder) throws IOException
IOExceptionpublic IndexDictionary.Browser get() throws IOException
get in interface IOSupplier<IndexDictionary.Browser>IOExceptionpublic long ramBytesUsed()
ramBytesUsed in interface AccountableCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.