Package org.apache.lucene.util.packed
Class DeltaPackedLongValues
- java.lang.Object
-
- org.apache.lucene.util.LongValues
-
- org.apache.lucene.util.packed.PackedLongValues
-
- org.apache.lucene.util.packed.DeltaPackedLongValues
-
- All Implemented Interfaces:
Accountable
- Direct Known Subclasses:
MonotonicLongValues
class DeltaPackedLongValues extends PackedLongValues
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DeltaPackedLongValues.Builder
-
Nested classes/interfaces inherited from class org.apache.lucene.util.packed.PackedLongValues
PackedLongValues.Iterator
-
-
Field Summary
Fields Modifier and Type Field Description private static long
BASE_RAM_BYTES_USED
(package private) long[]
mins
-
Fields inherited from class org.apache.lucene.util.packed.PackedLongValues
DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, MIN_PAGE_SIZE, pageMask, pageShift, values
-
Fields inherited from class org.apache.lucene.util.LongValues
IDENTITY, ZEROES
-
-
Constructor Summary
Constructors Constructor Description DeltaPackedLongValues(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, long size, long ramBytesUsed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
decodeBlock(int block, long[] dest)
(package private) long
get(int block, int element)
-
Methods inherited from class org.apache.lucene.util.packed.PackedLongValues
deltaPackedBuilder, deltaPackedBuilder, get, iterator, monotonicBuilder, monotonicBuilder, packedBuilder, packedBuilder, ramBytesUsed, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
-
-
-
Constructor Detail
-
DeltaPackedLongValues
DeltaPackedLongValues(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, long size, long ramBytesUsed)
-
-
Method Detail
-
get
long get(int block, int element)
- Overrides:
get
in classPackedLongValues
-
decodeBlock
int decodeBlock(int block, long[] dest)
- Overrides:
decodeBlock
in classPackedLongValues
-
-