- rawCompress(long, long, long) - Static method in class org.xerial.snappy.Snappy
-
Zero-copy compress using memory addresses.
- rawCompress(Object, int) - Static method in class org.xerial.snappy.Snappy
-
Compress the input data and produce a byte array of the uncompressed data
- rawCompress(Object, int, int, byte[], int) - Static method in class org.xerial.snappy.Snappy
-
Compress the input buffer [offset,...
- rawCompress(long, long, long) - Method in interface org.xerial.snappy.SnappyApi
-
- rawCompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyApi
-
- rawCompress(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyApi
-
- rawCompress(long, long, long) - Method in class org.xerial.snappy.SnappyNative
-
- rawCompress(ByteBuffer, int, int, ByteBuffer, int) - Method in class org.xerial.snappy.SnappyNative
-
- rawCompress(Object, int, int, Object, int) - Method in class org.xerial.snappy.SnappyNative
-
- rawRead(Object, int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read uncompressed data into the specified array
- rawUncompress(long, long, long) - Static method in class org.xerial.snappy.Snappy
-
Zero-copy decompress using memory addresses.
- rawUncompress(byte[], int, int, Object, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the content in the input buffer.
- rawUncompress(long, long, long) - Method in interface org.xerial.snappy.SnappyApi
-
- rawUncompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyApi
-
- rawUncompress(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyApi
-
- rawUncompress(long, long, long) - Method in class org.xerial.snappy.SnappyNative
-
- rawUncompress(ByteBuffer, int, int, ByteBuffer, int) - Method in class org.xerial.snappy.SnappyNative
-
- rawUncompress(Object, int, int, Object, int) - Method in class org.xerial.snappy.SnappyNative
-
- rawWrite(Object, int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the raw byte array data.
- read() - Method in class org.xerial.snappy.SnappyFramedInputStream
-
- read(byte[], int, int) - Method in class org.xerial.snappy.SnappyFramedInputStream
-
- read(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedInputStream
- read(byte[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Reads up to len bytes of data from the input stream into an array of
bytes.
- read(long[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read long array from the stream
- read(long[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read long array from the stream
- read(double[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read double array from the stream
- read(double[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read double array from the stream
- read(int[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read int array from the stream
- read(int[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read int array from the stream
- read(float[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read float array from the stream
- read(float[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read float array from the stream
- read(short[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read short array from the stream
- read(short[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read short array from the stream
- read() - Method in class org.xerial.snappy.SnappyInputStream
-
Reads the next byte of uncompressed data from the input stream.
- readFully(byte[], int) - Method in class org.xerial.snappy.SnappyInputStream
-
- readHeader(InputStream) - Static method in class org.xerial.snappy.SnappyCodec
-
- readHeader() - Method in class org.xerial.snappy.SnappyInputStream
-
- release(byte[]) - Method in interface org.xerial.snappy.buffer.BufferAllocator
-
- release(byte[]) - Method in class org.xerial.snappy.buffer.CachedBufferAllocator
-
- release(byte[]) - Method in class org.xerial.snappy.buffer.DefaultBufferAllocator
-
- releaseArray(byte[]) - Method in interface org.xerial.snappy.pool.BufferPool
-
Returns instance to pool for potential future reuse.
- releaseArray(byte[]) - Method in class org.xerial.snappy.pool.CachingBufferPool
-
Returns instance to pool for potential future reuse.
- releaseArray(byte[]) - Method in class org.xerial.snappy.pool.QuiescentBufferPool
-
Does nothing.
- releaseDirect(ByteBuffer) - Method in interface org.xerial.snappy.pool.BufferPool
-
Returns instance to pool for potential future reuse.
- releaseDirect(ByteBuffer) - Method in class org.xerial.snappy.pool.CachingBufferPool
-
Returns instance to pool for potential future reuse.
- releaseDirect(ByteBuffer) - Method in class org.xerial.snappy.pool.QuiescentBufferPool
-
Aggressively releases native resources associated with buffer.
- reset() - Method in class org.xerial.snappy.PureJavaCrc32C
- RISCV_64 - Static variable in class org.xerial.snappy.OSInfo
-
- setBufferAllocatorFactory(BufferAllocatorFactory) - Static method in class org.xerial.snappy.buffer.CachedBufferAllocator
-
- setDefaultPool(BufferPool) - Static method in class org.xerial.snappy.pool.DefaultPoolFactory
-
Sets the default instance to use.
- shuffle(ByteBuffer, BitShuffleType, ByteBuffer) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the content in the given input buffer.
- shuffle(short[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input short array.
- shuffle(int[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input int array.
- shuffle(long[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input long array.
- shuffle(float[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input float array.
- shuffle(double[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input double array.
- shuffle(Object, int, int, int, Object, int) - Method in class org.xerial.snappy.BitShuffleNative
-
- shuffleDirectBuffer(ByteBuffer, int, int, int, ByteBuffer, int) - Method in class org.xerial.snappy.BitShuffleNative
-
- Snappy - Class in org.xerial.snappy
-
Snappy API for data compression/decompression
Note: if the native libraries cannot be loaded, an ExceptionInInitializerError
will be thrown at first use of this class.
- Snappy() - Constructor for class org.xerial.snappy.Snappy
-
- SNAPPY_SYSTEM_PROPERTIES_FILE - Static variable in class org.xerial.snappy.SnappyLoader
-
- SnappyApi - Interface in org.xerial.snappy
-
Snappy compressor/decompressor interface.
- SnappyBundleActivator - Class in org.xerial.snappy
-
OSGi bundle entry point
- SnappyBundleActivator() - Constructor for class org.xerial.snappy.SnappyBundleActivator
-
- SnappyCodec - Class in org.xerial.snappy
-
- SnappyError - Error in org.xerial.snappy
-
Used when serious errors (unchecked exception) are observed.
- SnappyError(SnappyErrorCode) - Constructor for error org.xerial.snappy.SnappyError
-
- SnappyError(SnappyErrorCode, Error) - Constructor for error org.xerial.snappy.SnappyError
-
- SnappyError(SnappyErrorCode, String) - Constructor for error org.xerial.snappy.SnappyError
-
- SnappyErrorCode - Enum in org.xerial.snappy
-
Error codes of snappy-java
- SnappyException - Exception in org.xerial.snappy
-
- SnappyException(int) - Constructor for exception org.xerial.snappy.SnappyException
-
Deprecated.
- SnappyException(SnappyErrorCode) - Constructor for exception org.xerial.snappy.SnappyException
-
Deprecated.
- SnappyException(SnappyErrorCode, Exception) - Constructor for exception org.xerial.snappy.SnappyException
-
Deprecated.
- SnappyException(SnappyErrorCode, String) - Constructor for exception org.xerial.snappy.SnappyException
-
Deprecated.
- SnappyFramedInputStream - Class in org.xerial.snappy
-
- SnappyFramedInputStream(InputStream) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
input stream.
- SnappyFramedInputStream(InputStream, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
input stream.
- SnappyFramedInputStream(InputStream, boolean) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
input stream.
- SnappyFramedInputStream(InputStream, boolean, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
input stream.
- SnappyFramedInputStream(ReadableByteChannel, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
channel.
- SnappyFramedInputStream(ReadableByteChannel) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
channel.
- SnappyFramedInputStream(ReadableByteChannel, boolean) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
channel.
- SnappyFramedInputStream(ReadableByteChannel, boolean, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying
channel.
- SnappyFramedInputStream.FrameData - Class in org.xerial.snappy
-
- SnappyFramedInputStream.FrameMetaData - Class in org.xerial.snappy
-
- SnappyFramedOutputStream - Class in org.xerial.snappy
-
- SnappyFramedOutputStream(OutputStream) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(OutputStream, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(OutputStream, int, double) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(OutputStream, int, double, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(WritableByteChannel) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(WritableByteChannel, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(WritableByteChannel, int, double) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyFramedOutputStream(WritableByteChannel, int, double, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
- SnappyHadoopCompatibleOutputStream - Class in org.xerial.snappy
-
- SnappyHadoopCompatibleOutputStream(OutputStream) - Constructor for class org.xerial.snappy.SnappyHadoopCompatibleOutputStream
-
- SnappyHadoopCompatibleOutputStream(OutputStream, int) - Constructor for class org.xerial.snappy.SnappyHadoopCompatibleOutputStream
-
- SnappyInputStream - Class in org.xerial.snappy
-
- SnappyInputStream(InputStream) - Constructor for class org.xerial.snappy.SnappyInputStream
-
Create a filter for reading compressed data as a uncompressed stream
- SnappyInputStream(InputStream, int) - Constructor for class org.xerial.snappy.SnappyInputStream
-
Create a filter for reading compressed data as a uncompressed stream with provided maximum chunk size
- SnappyIOException - Exception in org.xerial.snappy
-
Enhanced IOException with SnappyErrorCode
- SnappyIOException(SnappyErrorCode, String) - Constructor for exception org.xerial.snappy.SnappyIOException
-
- SnappyLoader - Class in org.xerial.snappy
-
Internal only - Do not use this class. This class loads a native
library of snappy-java (snappyjava.dll, libsnappy.so, etc.) according to the
user platform (os.name and os.arch).
- SnappyLoader() - Constructor for class org.xerial.snappy.SnappyLoader
-
- SnappyNative - Class in org.xerial.snappy
-
JNI interface of the
Snappy
implementation.
- SnappyNative() - Constructor for class org.xerial.snappy.SnappyNative
-
- SnappyOutputStream - Class in org.xerial.snappy
-
This class implements a stream filter for writing compressed data using
Snappy.
- SnappyOutputStream(OutputStream) - Constructor for class org.xerial.snappy.SnappyOutputStream
-
- SnappyOutputStream(OutputStream, int) - Constructor for class org.xerial.snappy.SnappyOutputStream
-
- SnappyOutputStream(OutputStream, int, BufferAllocatorFactory) - Constructor for class org.xerial.snappy.SnappyOutputStream
-
- start(BundleContext) - Method in class org.xerial.snappy.SnappyBundleActivator
-
- stop(BundleContext) - Method in class org.xerial.snappy.SnappyBundleActivator
-
- uncompress(byte[]) - Static method in class org.xerial.snappy.Snappy
-
High-level API for uncompressing the input byte array.
- uncompress(byte[], int, int, byte[], int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the content in the input buffer.
- uncompress(ByteBuffer, ByteBuffer) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the content in the input buffer.
- uncompressCharArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input data as char array
- uncompressCharArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, .., offset+length) as a char array
- uncompressDoubleArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a double array
- uncompressDoubleArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a double array
- uncompressedLength(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Get the uncompressed byte size of the given compressed input.
- uncompressedLength(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Get the uncompressed byte size of the given compressed input.
- uncompressedLength(ByteBuffer) - Static method in class org.xerial.snappy.Snappy
-
Get the uncompressed byte size of the given compressed input.
- uncompressedLength(long, long) - Static method in class org.xerial.snappy.Snappy
-
Get the uncompressed byte size of the given compressed input.
- uncompressedLength(ByteBuffer, int, int) - Method in interface org.xerial.snappy.SnappyApi
-
- uncompressedLength(Object, int, int) - Method in interface org.xerial.snappy.SnappyApi
-
- uncompressedLength(long, long) - Method in interface org.xerial.snappy.SnappyApi
-
- uncompressedLength(ByteBuffer, int, int) - Method in class org.xerial.snappy.SnappyNative
-
- uncompressedLength(Object, int, int) - Method in class org.xerial.snappy.SnappyNative
-
- uncompressedLength(long, long) - Method in class org.xerial.snappy.SnappyNative
-
- uncompressFloatArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a float array
- uncompressFloatArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a float array
- uncompressIntArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input data as an int array
- uncompressIntArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as an int array
- uncompressLongArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input data as a long array
- uncompressLongArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a long array
- uncompressShortArray(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a short array
- uncompressShortArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a short array
- uncompressString(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a String
- uncompressString(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a String
- uncompressString(byte[], int, int, String) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a String of the given
encoding
- uncompressString(byte[], int, int, Charset) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input[offset, offset+length) as a String of the given
encoding
- uncompressString(byte[], String) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a String of the given encoding
- uncompressString(byte[], Charset) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the input as a String of the given encoding
- unshuffle(ByteBuffer, BitShuffleType, ByteBuffer) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original array.
- unshuffle(Object, int, int, int, Object, int) - Method in class org.xerial.snappy.BitShuffleNative
-
- unshuffleDirectBuffer(ByteBuffer, int, int, int, ByteBuffer, int) - Method in class org.xerial.snappy.BitShuffleNative
-
- unshuffleDoubleArray(byte[]) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original double array.
- unshuffleFloatArray(byte[]) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original float array.
- unshuffleIntArray(byte[]) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original int array.
- unshuffleLongArray(byte[]) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original long array.
- unshuffleShortArray(byte[]) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original short array.
- update(byte[], int, int) - Method in class org.xerial.snappy.PureJavaCrc32C
- update(int) - Method in class org.xerial.snappy.PureJavaCrc32C