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 FST.
|
protected IndexInput |
dictionaryInput |
protected boolean |
isFSTOnHeap |
NULL_ACCOUNTABLE
Constructor and Description |
---|
BrowserSupplier(IndexInput dictionaryInput,
long dictionaryStartFP,
BlockDecoder blockDecoder,
boolean isFSTOnHeap) |
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 final boolean isFSTOnHeap
protected IndexDictionary dictionary
public BrowserSupplier(IndexInput dictionaryInput, long dictionaryStartFP, BlockDecoder blockDecoder, boolean isFSTOnHeap) 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-2021 Apache Software Foundation. All Rights Reserved.