Package it.unimi.di.big.mg4j.index
Class QuasiSuccinctIndexReader.PointerReader
- java.lang.Object
-
- it.unimi.di.big.mg4j.index.QuasiSuccinctIndexReader.PointerReader
-
- Direct Known Subclasses:
QuasiSuccinctIndexReader.EliasFanoPointerReader
,QuasiSuccinctIndexReader.RankedPointerReader
- Enclosing class:
- QuasiSuccinctIndexReader
protected static class QuasiSuccinctIndexReader.PointerReader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
curr
The current word position in the list of upper bits.long
currentIndex
The index of the current prefix sum.protected long
frequency
The frequency of the term (i.e., the number of elements of the current list).protected LongBigList
list
The underlying list.protected int
log2Quantum
The logarithm of the quantum, cached from the index.protected long
numberOfPointers
The number of pointers.protected int
pointerSize
The size of a pointer.protected int
quantum
The quantum, cached from the index.protected QuasiSuccinctIndexReader.LongWordBitReader
skipPointers
The longword bit reader for pointers.protected long
skipPointersStart
The starting position of the pointers.protected long
upperBitsStart
The starting position of the upper bits.protected long
window
The 64-bit window.
-
Constructor Summary
Constructors Constructor Description PointerReader(LongBigList list, long upperBitsStart, QuasiSuccinctIndexReader.LongWordBitReader skipPointers, long skipPointersStart, long numberOfPointers, int pointerSize, long frequency, int log2Quantum)
-
-
-
Field Detail
-
list
protected final LongBigList list
The underlying list.
-
skipPointers
protected final QuasiSuccinctIndexReader.LongWordBitReader skipPointers
The longword bit reader for pointers.
-
skipPointersStart
protected final long skipPointersStart
The starting position of the pointers.
-
upperBitsStart
protected final long upperBitsStart
The starting position of the upper bits.
-
log2Quantum
protected final int log2Quantum
The logarithm of the quantum, cached from the index.
-
quantum
protected final int quantum
The quantum, cached from the index.
-
pointerSize
protected final int pointerSize
The size of a pointer.
-
numberOfPointers
protected final long numberOfPointers
The number of pointers.
-
frequency
protected final long frequency
The frequency of the term (i.e., the number of elements of the current list).
-
window
protected long window
The 64-bit window.
-
curr
protected long curr
The current word position in the list of upper bits.
-
currentIndex
public long currentIndex
The index of the current prefix sum.
-
-
Constructor Detail
-
PointerReader
public PointerReader(LongBigList list, long upperBitsStart, QuasiSuccinctIndexReader.LongWordBitReader skipPointers, long skipPointersStart, long numberOfPointers, int pointerSize, long frequency, int log2Quantum)
-
-