OnHeapFSTStore

class OnHeapFSTStore(maxBlockBits: Int, in: DataInput, numBytes: Long) : FSTReader

Provides storage of finite state machine (FST), using byte array or byte store allocated on heap.

Constructors

Link copied to clipboard
constructor(maxBlockBits: Int, in: DataInput, numBytes: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Functions

Link copied to clipboard

Get the reverse BytesReader for this FST

Link copied to clipboard
open override fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.

Link copied to clipboard
open override fun writeTo(out: DataOutput)

Write this FST to another DataOutput