Class OnHeapFSTStore

java.lang.Object
org.apache.lucene.util.fst.OnHeapFSTStore
All Implemented Interfaces:
Accountable, FSTStore

public final class OnHeapFSTStore extends Object implements FSTStore
Provides storage of finite state machine (FST), using byte array or byte store allocated on heap.
  • Field Details

    • BASE_RAM_BYTES_USED

      private static final long BASE_RAM_BYTES_USED
    • bytes

      private BytesStore bytes
      A BytesStore, used during building, or during reading when the FST is very large (more than 1 GB). If the FST is less than 1 GB then bytesArray is set instead.
    • bytesArray

      private byte[] bytesArray
      Used at read time when the FST fits into a single byte[].
    • maxBlockBits

      private final int maxBlockBits
  • Constructor Details

    • OnHeapFSTStore

      public OnHeapFSTStore(int maxBlockBits)
  • Method Details