BlockPackedReaderIterator

class BlockPackedReaderIterator(in: DataInput, packedIntsVersion: Int, blockSize: Int, valueCount: Long)

Reader for sequences of longs written with BlockPackedWriter.

See also

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var off: Int
Link copied to clipboard
var ord: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun next(): Long

Read the next value.

fun next(count: Int): LongsRef

Read between 1 and count values.

Link copied to clipboard
fun ord(): Long

Return the offset of the next value to read.

Link copied to clipboard
fun reset(in: DataInput, valueCount: Long)

Reset the current reader to wrap a stream of valueCount values contained in in. The block size remains unchanged.

Link copied to clipboard
fun skip(count: Long)

Skip exactly count values.