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 longFields inherited from class org.apache.lucene.util.packed.DeltaPackedLongValues
minsFields inherited from class org.apache.lucene.util.packed.PackedLongValues
DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, MIN_PAGE_SIZE, pageMask, pageShift, valuesFields inherited from class org.apache.lucene.util.LongValues
IDENTITY, ZEROESFields 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) intdecodeBlock(int block, long[] dest) (package private) longget(int block, int element) Methods inherited from class org.apache.lucene.util.packed.PackedLongValues
deltaPackedBuilder, deltaPackedBuilder, get, iterator, monotonicBuilder, monotonicBuilder, packedBuilder, packedBuilder, ramBytesUsed, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getin classDeltaPackedLongValues
-
decodeBlock
int decodeBlock(int block, long[] dest) - Overrides:
decodeBlockin classDeltaPackedLongValues
-