PrefixCodedTerms

Prefix codes term instances (prefixes are shared). This is expected to be faster to build than a FST and might also be more compact if there are no common suffixes.

Types

Link copied to clipboard
class Builder

Builds a PrefixCodedTerms: call add repeatedly, then finish.

Link copied to clipboard

An iterator over the list of terms stored in a PrefixCodedTerms.

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
open operator override fun equals(obj: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Return an iterator over the terms stored in this PrefixCodedTerms.

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 setDelGen(delGen: Long)

Records del gen for this packet.

Link copied to clipboard
fun size(): Long

Return the number of terms stored in this PrefixCodedTerms.