See: Description
| Class | Description |
|---|---|
| AForBlockCompressor |
Implementation of
BlockCompressor based on the Adaptive Frame Of
Reference algorithm. |
| AForBlockDecompressor |
Implementation of
BlockDecompressor based on the Adaptive Frame Of
Reference algorithm. |
| AForFrameCompressor |
This class contains a lookup table of functors for compressing fames.
|
| AForFrameCompressorGenerator |
This class is used to generate
AForFrameCompressor. |
| AForFrameDecompressor |
This class contains a lookup table of functors for decompressing fames.
|
| AForFrameDecompressorGenerator |
This class is used to generate
AForFrameDecompressor. |
| BlockCompressor |
Abstraction over the block compression algorithm.
|
| BlockDecompressor |
Abstraction over the block decompression algorithm.
|
| BlockIndexInput |
Abstract API to decode a block-based posting format.
|
| BlockIndexOutput |
Abstract API to encode a block-based posting format.
|
| VIntBlockCompressor |
Implementation of the
BlockCompressor based on the Variable Integer
encoding algorithm. |
| VIntBlockDecompressor |
Implementation of the
BlockDecompressor based on the Variable Integer
encoding algorithm. |
BlockIndexOutput) and decoding
(BlockIndexInput)
block-based posting format. It also includes algorithms for compressing
and decompressing blocks of bytes.
BlockCompressor compresses a
list of integers into a byte array in one batch.
A BlockIndexOutput must ensure
that the given byte array is large enough for hosting the compressed data.
The method BlockCompressor.maxCompressedSize(int)
can be used to estimate the maximum size of a compressed block of values.
A BlockDecompressor decompresses
a compressed byte array into a list of integers in one batch.
A BlockIndexInput must ensure
that the given integer array is large enough for hosting the uncompressed data.
Two block compression algorithms are implemented:
BlockIndexOutput instance; and
BlockIndexInput will be used
to decode multiple postings list. Safe concurrent access of the index files
is ensured only if a different
BlockIndexInput.BlockReader
is used for each postings list. The method
BlockIndexInput.getBlockReader()
provides a
BlockIndexInput.BlockReader
which contains a clone of the underlying
IndexInput.Copyright © 2014. All rights reserved.