GroupVIntUtil
object GroupVIntUtil
This class contains utility methods and constants for group varint
Types
Functions
Link copied to clipboard
fun readGroupVInt(in: DataInput, remaining: Long, reader: GroupVIntUtil.IntReader, pos: Long, dst: IntArray, offset: Int): Int
fun readGroupVInt(in: DataInput, remaining: Long, reader: GroupVIntUtil.IntReader, pos: Long, dst: LongArray, offset: Int): Int
Faster implementation of read single group, It read values from the buffer that would not cross boundaries.
Link copied to clipboard
Read all the group varints, including the tail vints.
Read all the group varints, including the tail vints. we need a long[] because this is what postings are using, all longs are actually required to be integers.
Link copied to clipboard
The implementation for group-varint encoding, It uses a maximum of .MAX_LENGTH_PER_GROUP bytes scratch buffer.