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, wait
getChildResources
protected final IndexInput dictionaryInput
protected final BlockDecoder blockDecoder
protected IndexDictionary dictionary
public BrowserSupplier(IndexInput dictionaryInput, long startFilePointer, BlockDecoder blockDecoder) throws IOException
IOException
public IndexDictionary.Browser get() throws IOException
get
in interface IOSupplier<IndexDictionary.Browser>
IOException
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.