Package | Description |
---|---|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Class and Description |
---|---|
class |
GrowableWriter
Implements
PackedInts.Mutable , but grows the
bit count of the underlying packed ints on-demand. |
Modifier and Type | Method and Description |
---|---|
PackedInts.Mutable |
GrowableWriter.getMutable() |
static PackedInts.Mutable |
PackedInts.getMutable(int valueCount,
int bitsPerValue,
float acceptableOverheadRatio)
Create a packed integer array with the given amount of values initialized
to 0.
|
static PackedInts.Mutable |
PackedInts.getMutable(int valueCount,
int bitsPerValue,
PackedInts.Format format)
Same as
PackedInts.getMutable(int, int, float) with a pre-computed number
of bits per value and format. |
protected PackedInts.Mutable |
PagedGrowableWriter.newMutable(int valueCount,
int bitsPerValue) |
protected PackedInts.Mutable |
PagedMutable.newMutable(int valueCount,
int bitsPerValue) |
Modifier and Type | Method and Description |
---|---|
static void |
PackedInts.copy(PackedInts.Reader src,
int srcPos,
PackedInts.Mutable dest,
int destPos,
int len,
int mem)
Copy
src[srcPos:srcPos+len] into
dest[destPos:destPos+len] using at most mem
bytes. |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.