Package | Description |
---|---|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
Modifier and Type | Field and Description |
---|---|
(package private) PackedInts.Reader[] |
CompressingStoredFieldsIndexReader.docBasesDeltas |
(package private) PackedInts.Reader[] |
CompressingStoredFieldsIndexReader.startPointersDeltas |
Modifier and Type | Method and Description |
---|---|
private int[][] |
CompressingTermVectorsReader.positionIndex(int skip,
int numFields,
PackedInts.Reader numTerms,
int[] termFreqs) |
private int[][] |
CompressingTermVectorsReader.readPositions(int skip,
int numFields,
PackedInts.Reader flags,
PackedInts.Reader numTerms,
int[] termFreqs,
int flag,
int totalPositions,
int[][] positionIndex) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Direct16
Direct wrapping of 16-bits values to a backing array.
|
(package private) class |
Direct32
Direct wrapping of 32-bits values to a backing array.
|
(package private) class |
Direct64
Direct wrapping of 64-bits values to a backing array.
|
(package private) class |
Direct8
Direct wrapping of 8-bits values to a backing array.
|
(package private) class |
DirectPacked64SingleBlockReader |
(package private) class |
DirectPackedReader |
class |
GrowableWriter
Implements
PackedInts.Mutable , but grows the
bit count of the underlying packed ints on-demand. |
(package private) class |
Packed16ThreeBlocks
Packs integers into 3 shorts (48 bits per value).
|
(package private) class |
Packed64
Space optimized random access capable array of values with a fixed number of
bits/value.
|
(package private) class |
Packed64SingleBlock
This class is similar to
Packed64 except that it trades space for
speed by ensuring that a single block needs to be read/written in order to
read/write a value. |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock1 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock10 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock12 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock16 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock2 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock21 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock3 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock32 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock4 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock5 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock6 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock7 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock8 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock9 |
(package private) class |
Packed8ThreeBlocks
Packs integers into 3 bytes (24 bits per value).
|
static class |
PackedInts.Mutable
A packed integer array that can be modified.
|
(package private) static class |
PackedInts.MutableImpl |
static class |
PackedInts.NullReader
A
PackedInts.Reader which has all its values equal to 0 (bitsPerValue = 0). |
(package private) static class |
PackedInts.ReaderImpl
A simple base for Readers that keeps track of valueCount and bitsPerValue.
|
Modifier and Type | Field and Description |
---|---|
private PackedInts.Reader[] |
BlockPackedReader.subReaders |
(package private) PackedInts.Reader[] |
MonotonicBlockPackedReader.subReaders |
(package private) PackedInts.Reader[] |
PackedLongValues.values |
(package private) PackedInts.Reader[] |
PackedLongValues.Builder.values |
Modifier and Type | Method and Description |
---|---|
static PackedInts.Reader |
PackedInts.getDirectReader(IndexInput in)
Construct a direct
PackedInts.Reader from an IndexInput . |
static PackedInts.Reader |
PackedInts.getDirectReaderNoHeader(IndexInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Construct a direct
PackedInts.Reader from a stream without reading
metadata at the beginning of the stream. |
static PackedInts.Reader |
PackedInts.getReader(DataInput in)
Restore a
PackedInts.Reader from a stream. |
static PackedInts.Reader |
PackedInts.getReaderNoHeader(DataInput in,
PackedInts.Format format,
int version,
int valueCount,
int bitsPerValue)
Expert: Restore a
PackedInts.Reader from a stream without reading metadata at
the beginning of the stream. |
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. |
(package private) static void |
PackedInts.copy(PackedInts.Reader src,
int srcPos,
PackedInts.Mutable dest,
int destPos,
int len,
long[] buf)
Same as
PackedInts.copy(Reader, int, Mutable, int, int, int) but using a pre-allocated buffer. |
Constructor and Description |
---|
DeltaPackedLongValues(int pageShift,
int pageMask,
PackedInts.Reader[] values,
long[] mins,
long size,
long ramBytesUsed) |
MonotonicLongValues(int pageShift,
int pageMask,
PackedInts.Reader[] values,
long[] mins,
float[] averages,
long size,
long ramBytesUsed) |
PackedLongValues(int pageShift,
int pageMask,
PackedInts.Reader[] values,
long size,
long ramBytesUsed) |