A B C D E F G H I K L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AARCH_64 - Static variable in class org.xerial.snappy.OSInfo
- allocate(int) - Method in interface org.xerial.snappy.buffer.BufferAllocator
- allocate(int) - Method in class org.xerial.snappy.buffer.CachedBufferAllocator
- allocate(int) - Method in class org.xerial.snappy.buffer.DefaultBufferAllocator
- allocateArray(int) - Method in interface org.xerial.snappy.pool.BufferPool
-
Returns a
byte[]
of size or greater length. - allocateArray(int) - Method in class org.xerial.snappy.pool.CachingBufferPool
-
Returns a
byte[]
of size or greater length. - allocateArray(int) - Method in class org.xerial.snappy.pool.QuiescentBufferPool
-
Creates a new
byte[]
of size. - allocateDirect(int) - Method in interface org.xerial.snappy.pool.BufferPool
-
Returns a
direct ByteBuffer
of size or greatercapacity
. - allocateDirect(int) - Method in class org.xerial.snappy.pool.CachingBufferPool
-
Returns a
direct ByteBuffer
of size or greatercapacity
. - allocateDirect(int) - Method in class org.xerial.snappy.pool.QuiescentBufferPool
-
Allocates
a directByteBuffer
of size. - arrayCopy(Object, int, int, Object, int) - Static method in class org.xerial.snappy.Snappy
-
Copy bytes from source to destination
- arrayCopy(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyApi
- arrayCopy(Object, int, int, Object, int) - Method in class org.xerial.snappy.SnappyNative
- available() - Method in class org.xerial.snappy.SnappyFramedInputStream
- available() - Method in class org.xerial.snappy.SnappyInputStream
B
- BitShuffle - Class in org.xerial.snappy
- BitShuffle() - Constructor for class org.xerial.snappy.BitShuffle
- BitShuffleNative - Class in org.xerial.snappy
-
JNI interfaces of the
BitShuffle
implementation. - BitShuffleNative() - Constructor for class org.xerial.snappy.BitShuffleNative
- BitShuffleType - Enum in org.xerial.snappy
-
Type codes used in ByteBuffer based BitShuffle APIs
- BufferAllocator - Interface in org.xerial.snappy.buffer
-
BufferAllocator interface.
- BufferAllocatorFactory - Interface in org.xerial.snappy.buffer
- BufferPool - Interface in org.xerial.snappy.pool
-
Makes various types of buffers available for use and potential re-use.
- BYTE - org.xerial.snappy.BitShuffleType
C
- CachedBufferAllocator - Class in org.xerial.snappy.buffer
-
Cached buffer
- CachedBufferAllocator(int) - Constructor for class org.xerial.snappy.buffer.CachedBufferAllocator
- CachingBufferPool - Class in org.xerial.snappy.pool
-
A
BufferPool
implementation which caches values at fixed sizes. - cleanUp() - Static method in class org.xerial.snappy.Snappy
-
Clean up a temporary file (native lib) generated by snappy-java.
- close() - Method in class org.xerial.snappy.SnappyFramedInputStream
- close() - Method in class org.xerial.snappy.SnappyFramedOutputStream
- close() - Method in class org.xerial.snappy.SnappyInputStream
-
Close the stream
- close() - Method in class org.xerial.snappy.SnappyOutputStream
-
close the stream
- compatibleVersion - Variable in class org.xerial.snappy.SnappyCodec
- compress(byte[]) - Static method in class org.xerial.snappy.Snappy
-
High-level API for compressing the input byte array.
- compress(byte[], int, int, byte[], int) - Static method in class org.xerial.snappy.Snappy
-
Compress the input buffer content in [inputOffset, ...inputOffset+inputLength) then output to the specified output buffer.
- compress(char[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input char array
- compress(double[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input double array
- compress(float[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input float array
- compress(int[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input int array
- compress(long[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input long array
- compress(short[]) - Static method in class org.xerial.snappy.Snappy
-
Compress the input short array
- compress(String) - Static method in class org.xerial.snappy.Snappy
-
Compress the input String
- compress(String, String) - Static method in class org.xerial.snappy.Snappy
-
Compress the input string using the given encoding
- compress(String, Charset) - Static method in class org.xerial.snappy.Snappy
-
Compress the input string using the given encoding
- compress(ByteBuffer, ByteBuffer) - Static method in class org.xerial.snappy.Snappy
-
Compress the content in the given input buffer.
- compressInput() - Method in class org.xerial.snappy.SnappyOutputStream
- currentHeader - Static variable in class org.xerial.snappy.SnappyCodec
D
- DEFAULT_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyFramedOutputStream
-
The default block size to use.
- DEFAULT_MIN_COMPRESSION_RATIO - Static variable in class org.xerial.snappy.SnappyFramedOutputStream
-
The default min compression ratio to use.
- DEFAULT_VERSION - Static variable in class org.xerial.snappy.SnappyCodec
- DefaultBufferAllocator - Class in org.xerial.snappy.buffer
-
Simple buffer allocator, which does not reuse the allocated buffer
- DefaultBufferAllocator() - Constructor for class org.xerial.snappy.buffer.DefaultBufferAllocator
- DefaultPoolFactory - Class in org.xerial.snappy.pool
-
Manages implementation of
BufferPool
to use by default. - DefaultPoolFactory() - Constructor for class org.xerial.snappy.pool.DefaultPoolFactory
- DISABLE_CACHING_PROPERTY - Static variable in class org.xerial.snappy.pool.DefaultPoolFactory
-
Name of system property to disable use of
CachingBufferPool
by default. - DOUBLE - org.xerial.snappy.BitShuffleType
- dumpOutput() - Method in class org.xerial.snappy.SnappyOutputStream
E
- EMPTY_INPUT - org.xerial.snappy.SnappyErrorCode
- errorCode - Variable in error org.xerial.snappy.SnappyError
- errorCode - Variable in exception org.xerial.snappy.SnappyException
-
Deprecated.
F
- factory - Static variable in class org.xerial.snappy.buffer.DefaultBufferAllocator
- FAILED_TO_LOAD_NATIVE_LIBRARY - org.xerial.snappy.SnappyErrorCode
- FAILED_TO_UNCOMPRESS - org.xerial.snappy.SnappyErrorCode
- FLOAT - org.xerial.snappy.BitShuffleType
- flush() - Method in class org.xerial.snappy.SnappyFramedOutputStream
- flush() - Method in class org.xerial.snappy.SnappyOutputStream
- FrameData(int, int) - Constructor for class org.xerial.snappy.SnappyFramedInputStream.FrameData
- FrameMetaData(SnappyFramedInputStream.FrameAction, int) - Constructor for class org.xerial.snappy.SnappyFramedInputStream.FrameMetaData
G
- getAllocator(int) - Static method in class org.xerial.snappy.buffer.CachedBufferAllocator
- getArchName() - Static method in class org.xerial.snappy.OSInfo
- getBufferAllocator(int) - Method in interface org.xerial.snappy.buffer.BufferAllocatorFactory
- getBufferAllocatorFactory() - Static method in class org.xerial.snappy.buffer.CachedBufferAllocator
- getDefaultPool() - Static method in class org.xerial.snappy.pool.DefaultPoolFactory
- getErrorCode() - Method in exception org.xerial.snappy.SnappyException
-
Deprecated.
- getErrorCode() - Method in exception org.xerial.snappy.SnappyIOException
- getErrorCode(int) - Static method in enum org.xerial.snappy.SnappyErrorCode
- getErrorMessage(int) - Static method in enum org.xerial.snappy.SnappyErrorCode
- getInstance() - Static method in class org.xerial.snappy.pool.CachingBufferPool
-
Returns instance of
CachingBufferPool
for using cached buffers. - getInstance() - Static method in class org.xerial.snappy.pool.QuiescentBufferPool
- getIntegerValue() - Method in class org.xerial.snappy.PureJavaCrc32C
- getMagicHeader() - Static method in class org.xerial.snappy.SnappyCodec
- getMessage() - Method in error org.xerial.snappy.SnappyError
- getMessage() - Method in exception org.xerial.snappy.SnappyException
-
Deprecated.
- getMessage() - Method in exception org.xerial.snappy.SnappyIOException
- getNativeLibFolderPathForCurrentOS() - Static method in class org.xerial.snappy.OSInfo
- getNativeLibraryVersion() - Static method in class org.xerial.snappy.Snappy
-
Get the native library version of the snappy
- getOSName() - Static method in class org.xerial.snappy.OSInfo
- getTypeSize() - Method in enum org.xerial.snappy.BitShuffleType
- getValue() - Method in class org.xerial.snappy.PureJavaCrc32C
- getVersion() - Static method in class org.xerial.snappy.SnappyLoader
-
Get the snappy-java version by reading pom.properties embedded in jar.
H
- hasMagicHeaderPrefix(byte[]) - Static method in class org.xerial.snappy.SnappyCodec
- hasNextChunk() - Method in class org.xerial.snappy.SnappyInputStream
- HEADER_SIZE - Static variable in class org.xerial.snappy.SnappyCodec
- headerSize() - Static method in class org.xerial.snappy.SnappyCodec
I
- IA64 - Static variable in class org.xerial.snappy.OSInfo
- IA64_32 - Static variable in class org.xerial.snappy.OSInfo
- IBMZ - Static variable in class org.xerial.snappy.OSInfo
- IBMZ_64 - Static variable in class org.xerial.snappy.OSInfo
- id - Variable in enum org.xerial.snappy.BitShuffleType
- id - Variable in enum org.xerial.snappy.SnappyErrorCode
- in - Variable in class org.xerial.snappy.SnappyInputStream
- INCOMPATIBLE_VERSION - org.xerial.snappy.SnappyErrorCode
- inputBuffer - Variable in class org.xerial.snappy.SnappyOutputStream
- INT - org.xerial.snappy.BitShuffleType
- INVALID_CHUNK_SIZE - org.xerial.snappy.SnappyErrorCode
- isAndroid() - Static method in class org.xerial.snappy.OSInfo
- isOpen() - Method in class org.xerial.snappy.SnappyFramedInputStream
- isOpen() - Method in class org.xerial.snappy.SnappyFramedOutputStream
- isValidCompressedBuffer(byte[]) - Static method in class org.xerial.snappy.Snappy
-
Returns true iff the contents of compressed buffer [offset, offset+length) can be uncompressed successfully.
- isValidCompressedBuffer(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
-
Returns true iff the contents of compressed buffer [offset, offset+length) can be uncompressed successfully.
- isValidCompressedBuffer(long, long, long) - Static method in class org.xerial.snappy.Snappy
-
Returns true iff the contents of compressed buffer [offset, offset+length) can be uncompressed successfully.
- isValidCompressedBuffer(long, long, long) - Method in interface org.xerial.snappy.SnappyApi
- isValidCompressedBuffer(long, long, long) - Method in class org.xerial.snappy.SnappyNative
- isValidCompressedBuffer(Object, int, int) - Method in interface org.xerial.snappy.SnappyApi
- isValidCompressedBuffer(Object, int, int) - Method in class org.xerial.snappy.SnappyNative
- isValidCompressedBuffer(ByteBuffer) - Static method in class org.xerial.snappy.Snappy
-
Returns true iff the contents of compressed buffer [pos() ...
- isValidCompressedBuffer(ByteBuffer, int, int) - Method in interface org.xerial.snappy.SnappyApi
- isValidCompressedBuffer(ByteBuffer, int, int) - Method in class org.xerial.snappy.SnappyNative
- isValidMagicHeader() - Method in class org.xerial.snappy.SnappyCodec
K
- KEY_SNAPPY_DISABLE_BUNDLED_LIBS - Static variable in class org.xerial.snappy.SnappyLoader
- KEY_SNAPPY_LIB_NAME - Static variable in class org.xerial.snappy.SnappyLoader
- KEY_SNAPPY_LIB_PATH - Static variable in class org.xerial.snappy.SnappyLoader
- KEY_SNAPPY_PUREJAVA - Static variable in class org.xerial.snappy.SnappyLoader
- KEY_SNAPPY_TEMPDIR - Static variable in class org.xerial.snappy.SnappyLoader
- KEY_SNAPPY_USE_SYSTEMLIB - Static variable in class org.xerial.snappy.SnappyLoader
L
- LIBRARY_NAME - Static variable in class org.xerial.snappy.SnappyBundleActivator
-
Name of the Snappy native library
- LONG - org.xerial.snappy.BitShuffleType
M
- magic - Variable in class org.xerial.snappy.SnappyCodec
- MAGIC_HEADER_HEAD - Static variable in class org.xerial.snappy.SnappyCodec
- MAGIC_LEN - Static variable in class org.xerial.snappy.SnappyCodec
- main(String[]) - Static method in class org.xerial.snappy.OSInfo
- MAX_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyFramedOutputStream
-
The x-snappy-framed specification allows for a chunk size up to 16,777,211 bytes in length.
- maxCompressedLength(int) - Static method in class org.xerial.snappy.Snappy
-
Get the maximum byte size needed for compressing data of the given byte size.
- maxCompressedLength(int) - Method in interface org.xerial.snappy.SnappyApi
- maxCompressedLength(int) - Method in class org.xerial.snappy.SnappyNative
- MINIMUM_COMPATIBLE_VERSION - Static variable in class org.xerial.snappy.SnappyCodec
N
- nativeLibraryVersion() - Method in class org.xerial.snappy.SnappyNative
- NOT_A_DIRECT_BUFFER - org.xerial.snappy.SnappyErrorCode
O
- org.xerial.snappy - package org.xerial.snappy
-
Snappy API for compressing/decompressing data.
- org.xerial.snappy.buffer - package org.xerial.snappy.buffer
- org.xerial.snappy.pool - package org.xerial.snappy.pool
- OSInfo - Class in org.xerial.snappy
-
Provides OS name and architecture name.
- OSInfo() - Constructor for class org.xerial.snappy.OSInfo
- out - Variable in class org.xerial.snappy.SnappyOutputStream
- OUT_OF_MEMORY - org.xerial.snappy.SnappyErrorCode
- outputBuffer - Variable in class org.xerial.snappy.SnappyOutputStream
P
- PARSING_ERROR - org.xerial.snappy.SnappyErrorCode
- PPC - Static variable in class org.xerial.snappy.OSInfo
- PPC64 - Static variable in class org.xerial.snappy.OSInfo
- PureJavaCrc32C - Class in org.xerial.snappy
-
A pure-java implementation of the CRC32 checksum that uses the CRC32-C polynomial, the same polynomial used by iSCSI and implemented on many Intel chipsets supporting SSE4.2.
- PureJavaCrc32C() - Constructor for class org.xerial.snappy.PureJavaCrc32C
-
Create a new PureJavaCrc32 object.
Q
- QuiescentBufferPool - Class in org.xerial.snappy.pool
-
A
BufferPool
implementation which does no pooling.
R
- rawCompress(long, long, long) - Static method in class org.xerial.snappy.Snappy
-
Zero-copy compress using memory addresses.
- rawCompress(long, long, long) - Method in interface org.xerial.snappy.SnappyApi
- rawCompress(long, long, long) - Method in class org.xerial.snappy.SnappyNative
- 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(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyApi
- rawCompress(Object, int, int, Object, int) - Method in class org.xerial.snappy.SnappyNative
- rawCompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyApi
- rawCompress(ByteBuffer, int, int, ByteBuffer, 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(byte[], int, int, Object, int) - Static method in class org.xerial.snappy.Snappy
-
Uncompress the content in the input buffer.
- rawUncompress(long, long, long) - Static method in class org.xerial.snappy.Snappy
-
Zero-copy decompress using memory addresses.
- rawUncompress(long, long, long) - Method in interface org.xerial.snappy.SnappyApi
- rawUncompress(long, long, long) - Method in class org.xerial.snappy.SnappyNative
- rawUncompress(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyApi
- rawUncompress(Object, int, int, Object, int) - Method in class org.xerial.snappy.SnappyNative
- rawUncompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyApi
- rawUncompress(ByteBuffer, int, int, ByteBuffer, 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() - Method in class org.xerial.snappy.SnappyInputStream
-
Reads the next byte of uncompressed data from the input stream.
- read(byte[], int, int) - 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(double[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read double array from the stream
- read(double[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read double array from the stream
- read(float[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read float array from the stream
- read(float[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read float 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(long[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read long array from the stream
- read(long[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read long array from the stream
- read(short[]) - Method in class org.xerial.snappy.SnappyInputStream
-
Read short array from the stream
- read(short[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read short array from the stream
- read(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedInputStream
- readFully(byte[], int) - Method in class org.xerial.snappy.SnappyInputStream
- readHeader() - Method in class org.xerial.snappy.SnappyInputStream
- readHeader(InputStream) - Static method in class org.xerial.snappy.SnappyCodec
- 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
S
- 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.
- SHORT - org.xerial.snappy.BitShuffleType
- shuffle(double[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input double array.
- shuffle(float[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input float 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(short[]) - Static method in class org.xerial.snappy.BitShuffle
-
Apply a bit-shuffling filter into the input short array.
- shuffle(Object, int, int, int, Object, int) - Method in class org.xerial.snappy.BitShuffleNative
- 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.
- 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
- 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
-
Preamble header for
SnappyOutputStream
. - 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
-
Deprecated.Snappy-java now uses
IOException
- 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, 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(InputStream, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedInputStream
-
Creates a Snappy input stream to read data from the specified underlying input stream.
- 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(ReadableByteChannel, 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
-
Creates a new
SnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
. - SnappyFramedOutputStream(OutputStream, int, double) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
instance. - SnappyFramedOutputStream(OutputStream, int, double, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
instance. - SnappyFramedOutputStream(OutputStream, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
. - SnappyFramedOutputStream(WritableByteChannel) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
. - SnappyFramedOutputStream(WritableByteChannel, int, double) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
instance. - SnappyFramedOutputStream(WritableByteChannel, int, double, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
instance. - SnappyFramedOutputStream(WritableByteChannel, BufferPool) - Constructor for class org.xerial.snappy.SnappyFramedOutputStream
-
Creates a new
SnappyFramedOutputStream
using theSnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
andSnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO
. - 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
-
A stream filter for reading data compressed by
SnappyOutputStream
. - SnappyInputStream(InputStream) - Constructor for class org.xerial.snappy.SnappyInputStream
-
Create a filter for reading compressed data as a uncompressed stream
- 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
-
Make a call to
System.loadLibrary(String)
to load the native library which assumes that the library is available on the path based on thisBundle
'sManifest
. - stop(BundleContext) - Method in class org.xerial.snappy.SnappyBundleActivator
T
- throw_error(int) - Method in class org.xerial.snappy.SnappyNative
- throwException(int) - Static method in exception org.xerial.snappy.SnappyException
-
Deprecated.
- TOO_LARGE_INPUT - org.xerial.snappy.SnappyErrorCode
- toString() - Method in class org.xerial.snappy.pool.CachingBufferPool
- toString() - Method in class org.xerial.snappy.SnappyCodec
- transferFrom(InputStream) - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
Transfers all the content from is to this
OutputStream
. - transferFrom(ReadableByteChannel) - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
Transfers all the content from rbc to this
WritableByteChannel
. - transferTo(OutputStream) - Method in class org.xerial.snappy.SnappyFramedInputStream
-
Transfers the entire content of this
InputStream
to os. - transferTo(WritableByteChannel) - Method in class org.xerial.snappy.SnappyFramedInputStream
-
Transfers the entire content of this
ReadableByteChannel
to wbc.
U
- 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(long, long) - Static method in class org.xerial.snappy.Snappy
-
Get the uncompressed byte size of the given compressed input.
- uncompressedLength(long, long) - Method in interface org.xerial.snappy.SnappyApi
- uncompressedLength(long, long) - Method in class org.xerial.snappy.SnappyNative
- uncompressedLength(Object, int, int) - Method in interface org.xerial.snappy.SnappyApi
- uncompressedLength(Object, int, int) - Method in class org.xerial.snappy.SnappyNative
- uncompressedLength(ByteBuffer) - 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(ByteBuffer, int, int) - 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
- UNKNOWN - org.xerial.snappy.SnappyErrorCode
- unshuffle(Object, int, int, int, Object, int) - Method in class org.xerial.snappy.BitShuffleNative
- unshuffle(ByteBuffer, BitShuffleType, ByteBuffer) - Static method in class org.xerial.snappy.BitShuffle
-
Convert the input bit-shuffled byte array into an original array.
- 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.
- UNSUPPORTED_PLATFORM - org.xerial.snappy.SnappyErrorCode
- update(byte[], int, int) - Method in class org.xerial.snappy.PureJavaCrc32C
- update(int) - Method in class org.xerial.snappy.PureJavaCrc32C
V
- valueOf(String) - Static method in enum org.xerial.snappy.BitShuffleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.xerial.snappy.SnappyErrorCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.xerial.snappy.BitShuffleType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.xerial.snappy.SnappyErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class org.xerial.snappy.SnappyCodec
W
- write(byte[], int, int) - Method in class org.xerial.snappy.SnappyFramedOutputStream
- write(byte[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
- write(double[]) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input array data
- write(double[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input double array data
- write(float[]) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input array data
- write(float[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input float array data
- write(int) - Method in class org.xerial.snappy.SnappyFramedOutputStream
- write(int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Writes the specified byte to this output stream.
- write(int[]) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input array data
- write(int[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input int array data
- write(long[]) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input array data
- write(long[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input long array data
- write(short[]) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input array data
- write(short[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
-
Compress the input short array data
- write(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedOutputStream
- writeBlockPreemble() - Method in class org.xerial.snappy.SnappyHadoopCompatibleOutputStream
- writeBlockPreemble() - Method in class org.xerial.snappy.SnappyOutputStream
-
Optionally write a preemble before a block.
- writeCurrentDataSize() - Method in class org.xerial.snappy.SnappyOutputStream
- writeHeader() - Method in class org.xerial.snappy.SnappyHadoopCompatibleOutputStream
- writeHeader() - Method in class org.xerial.snappy.SnappyOutputStream
- writeHeader(byte[], int) - Method in class org.xerial.snappy.SnappyCodec
- writeHeader(OutputStream) - Method in class org.xerial.snappy.SnappyCodec
X
- X86 - Static variable in class org.xerial.snappy.OSInfo
- X86_64 - Static variable in class org.xerial.snappy.OSInfo
All Classes All Packages