OffHeapFSTStore

class OffHeapFSTStore(in: IndexInput, offset: Long, metadata: FST.FSTMetadata<*>) : FSTReader

Provides off heap storage of finite state machine (FST), using underlying index input instead of byte store on heap

Constructors

Link copied to clipboard
constructor(in: IndexInput, offset: Long, metadata: FST.FSTMetadata<*>)

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
fun size(): Long
Link copied to clipboard
open override fun writeTo(out: DataOutput)

Write this FST to another DataOutput