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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.lucene.util.packed.PackedLongValues
PackedLongValues.Iterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
(package private) final long[]
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
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaPackedLongValues
(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, long size, long ramBytesUsed) -
Method Summary
Modifier and TypeMethodDescription(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
-
Field Details
-
BASE_RAM_BYTES_USED
private static final long BASE_RAM_BYTES_USED -
mins
final long[] mins
-
-
Constructor Details
-
DeltaPackedLongValues
DeltaPackedLongValues(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, long size, long ramBytesUsed)
-
-
Method Details
-
get
long get(int block, int element) - Overrides:
get
in classPackedLongValues
-
decodeBlock
int decodeBlock(int block, long[] dest) - Overrides:
decodeBlock
in classPackedLongValues
-