Class CompressionMode.LZ4FastCompressor
java.lang.Object
org.apache.lucene.codecs.compressing.Compressor
org.apache.lucene.codecs.compressing.CompressionMode.LZ4FastCompressor
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- CompressionMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
compress
(byte[] bytes, int off, int len, DataOutput out) Compress bytes intoout
.
-
Field Details
-
ht
-
-
Constructor Details
-
LZ4FastCompressor
LZ4FastCompressor()
-
-
Method Details
-
compress
Description copied from class:Compressor
Compress bytes intoout
. It is the responsibility of the compressor to add all necessary information so that aDecompressor
will know when to stop decompressing bytes from the stream.- Specified by:
compress
in classCompressor
- Throws:
IOException
-
close
- Throws:
IOException
-