static class DeltaPackedLongValues.Builder extends PackedLongValues.Builder
Modifier and Type | Field and Description |
---|---|
private static long |
BASE_RAM_BYTES_USED |
(package private) long[] |
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() |
DeltaPackedLongValues |
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
long baseRamBytesUsed()
baseRamBytesUsed
in class PackedLongValues.Builder
public DeltaPackedLongValues build()
PackedLongValues.Builder
PackedLongValues
instance that contains values that
have been added to this builder. This operation is destructive.build
in class PackedLongValues.Builder
void pack(long[] values, int numValues, int block, float acceptableOverheadRatio)
pack
in class PackedLongValues.Builder
void grow(int newBlockCount)
grow
in class PackedLongValues.Builder