Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class BlockPackedReaderIterator(in: DataInput, packedIntsVersion: Int, blockSize: Int, valueCount: Long)

Reader for sequences of longs written with BlockPackedWriter.

Link copied to clipboard

A writer for large sequences of longs.

Link copied to clipboard
open class DeltaPackedLongValues(pageShift: Int, pageMask: Int, values: Array<PackedInts.Reader>, mins: LongArray, size: Long, ramBytesUsed: Long) : PackedLongValues
Link copied to clipboard

Retrieves an instance previously written by DirectMonotonicWriter.

Link copied to clipboard

Write monotonically-increasing sequences of integers. This writer splits data into blocks and then for each block, computes the average slope, the minimum value and only encode the delta from the expected value using a DirectWriter.

Link copied to clipboard

Retrieves an instance previously written by DirectWriter

Link copied to clipboard

Class for writing packed integers to be directly read from Directory. Integers can be read on-the-fly via DirectReader.

Link copied to clipboard
class GrowableWriter(startBitsPerValue: Int, valueCount: Int, acceptableOverheadRatio: Float) : PackedInts.Mutable

Implements PackedInts.Mutable, but grows the bit count of the underlying packed ints on-demand.

Link copied to clipboard

Provides random access to a stream written with MonotonicBlockPackedWriter.

Link copied to clipboard

A writer for large monotonically increasing sequences of positive longs.

Link copied to clipboard
class MonotonicLongValues(pageShift: Int, pageMask: Int, values: Array<PackedInts.Reader>, mins: LongArray, averages: FloatArray, size: Long, ramBytesUsed: Long) : DeltaPackedLongValues
Link copied to clipboard
object PackedInts

Simplistic compression for array of unsigned long values. Each value is >= 0 and <= a specified maximum value. The values are stored as packed ints, with each value consuming a fixed number of bits.

Link copied to clipboard

Utility class to compress integers into a LongValues instance.

Link copied to clipboard

A PagedGrowableWriter. This class slices data into fixed-size blocks which have independent numbers of bits per value and grow on-demand.

Link copied to clipboard

A PagedMutable. This class slices data into fixed-size blocks which have the same number of bits per value. It can be a useful replacement for PackedInts.Mutable to store more than 2B values.