Package org.apache.lucene.util.packed
Class MonotonicLongValues
java.lang.Object
org.apache.lucene.util.LongValues
org.apache.lucene.util.packed.PackedLongValues
org.apache.lucene.util.packed.DeltaPackedLongValues
org.apache.lucene.util.packed.MonotonicLongValues
- All Implemented Interfaces:
Accountable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.lucene.util.packed.PackedLongValues
PackedLongValues.Iterator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final float[]
private static final long
Fields inherited from class org.apache.lucene.util.packed.DeltaPackedLongValues
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
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
ConstructorsConstructorDescriptionMonotonicLongValues
(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, float[] averages, 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 -
averages
final float[] averages
-
-
Constructor Details
-
MonotonicLongValues
MonotonicLongValues(int pageShift, int pageMask, PackedInts.Reader[] values, long[] mins, float[] averages, long size, long ramBytesUsed)
-
-
Method Details
-
get
long get(int block, int element) - Overrides:
get
in classDeltaPackedLongValues
-
decodeBlock
int decodeBlock(int block, long[] dest) - Overrides:
decodeBlock
in classDeltaPackedLongValues
-