static class MonotonicLongValues.Builder extends DeltaPackedLongValues.Builder
Modifier and Type | Field and Description |
---|---|
(package private) float[] |
averages |
private static long |
BASE_RAM_BYTES_USED |
mins
acceptableOverheadRatio, pageMask, pageShift, pending, pendingOff, ramBytesUsed, size, values, valuesOff
Constructor and Description |
---|
Builder(int pageSize,
float acceptableOverheadRatio) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
baseRamBytesUsed() |
MonotonicLongValues |
build()
Build a
PackedLongValues instance that contains values that
have been added to this builder. |
(package private) void |
grow(int newBlockCount) |
(package private) void |
pack(long[] values,
int numValues,
int block,
float acceptableOverheadRatio) |
add, finish, ramBytesUsed, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
private static final long BASE_RAM_BYTES_USED
float[] averages
long baseRamBytesUsed()
baseRamBytesUsed
in class DeltaPackedLongValues.Builder
public MonotonicLongValues build()
PackedLongValues.Builder
PackedLongValues
instance that contains values that
have been added to this builder. This operation is destructive.build
in class DeltaPackedLongValues.Builder
void pack(long[] values, int numValues, int block, float acceptableOverheadRatio)
pack
in class DeltaPackedLongValues.Builder
void grow(int newBlockCount)
grow
in class DeltaPackedLongValues.Builder