Module org.apache.lucene.core
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 TypeMethodDescriptionvoidclose()voidcompress(ByteBuffersDataInput buffersInput, DataOutput out) Compress bytes intoout.
-
Field Details
-
ht
-
-
Constructor Details
-
LZ4FastCompressor
LZ4FastCompressor()
-
-
Method Details
-
compress
Description copied from class:CompressorCompress bytes intoout. It is the responsibility of the compressor to add all necessary information so that aDecompressorwill know when to stop decompressing bytes from the stream.- Specified by:
compressin classCompressor- Throws:
IOException
-
close
- Throws:
IOException
-