Class FSTDictionary.BrowserSupplier

    • Field Detail

      • dictionaryInput

        protected final IndexInput dictionaryInput
      • isFSTOnHeap

        protected final boolean isFSTOnHeap
      • dictionary

        protected IndexDictionary dictionary
        Lazy loaded immutable index dictionary FST. The FST is either kept off-heap, or hold in RAM on-heap.
    • Constructor Detail

      • BrowserSupplier

        public BrowserSupplier​(IndexInput dictionaryInput,
                               long dictionaryStartFP,
                               BlockDecoder blockDecoder,
                               boolean isFSTOnHeap)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
        Specified by:
        ramBytesUsed in interface Accountable