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
- adjustSize(int) - Static method in class org.xerial.snappy.pool.CachingBufferPool
- 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. - allocateBuffersBasedOnSize(int) - Method in class org.xerial.snappy.SnappyFramedInputStream
- 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. - archMapping - Static variable in class org.xerial.snappy.OSInfo
- ARRAY_FUNCTION - Static variable in class org.xerial.snappy.pool.CachingBufferPool
- 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
- bitshuffleApi - Static variable in class org.xerial.snappy.SnappyLoader
- 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
- BitShuffleType(int) - Constructor for enum org.xerial.snappy.BitShuffleType
- blockSize - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- blockSize - Variable in class org.xerial.snappy.SnappyOutputStream
- buffer - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
Buffer contains a copy of the uncompressed data for the block.
- buffer - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- BufferAllocator - Interface in org.xerial.snappy.buffer
-
BufferAllocator interface.
- BufferAllocatorFactory - Interface in org.xerial.snappy.buffer
- bufferPool - Variable in class org.xerial.snappy.SnappyFramedInputStream
- bufferPool - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- BufferPool - Interface in org.xerial.snappy.pool
-
Makes various types of buffers available for use and potential re-use.
- bufferQueue - Variable in class org.xerial.snappy.buffer.CachedBufferAllocator
- buffers - Variable in class org.xerial.snappy.pool.CachingBufferPool
- bufferSize - Variable in class org.xerial.snappy.buffer.CachedBufferAllocator
- BYTE - org.xerial.snappy.BitShuffleType
- bytes - Variable in class org.xerial.snappy.pool.CachingBufferPool
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. - CachingBufferPool() - Constructor for class org.xerial.snappy.pool.CachingBufferPool
- CachingBufferPool.IntFunction<E> - Interface in org.xerial.snappy.pool
- checkSum - Variable in class org.xerial.snappy.SnappyFramedInputStream.FrameData
- CHECKSUM_SUPPLIER - Static variable in class org.xerial.snappy.SnappyFramed
- CLEAN_HANDLE - Static variable in class org.xerial.snappy.pool.DirectByteBuffers
- cleanUp() - Static method in class org.xerial.snappy.Snappy
-
Clean up a temporary file (native lib) generated by snappy-java.
- cleanUpExtractedNativeLib() - Static method in class org.xerial.snappy.SnappyLoader
- 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
- closed - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
Indicates if this instance has been closed.
- closed - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- closed - Variable in class org.xerial.snappy.SnappyOutputStream
- 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.
- compressed - Variable in class org.xerial.snappy.SnappyInputStream
- COMPRESSED_DATA_FLAG - Static variable in class org.xerial.snappy.SnappyFramed
- compressInput() - Method in class org.xerial.snappy.SnappyOutputStream
- contentsEquals(InputStream, InputStream) - Static method in class org.xerial.snappy.SnappyLoader
- crc - Variable in class org.xerial.snappy.PureJavaCrc32C
-
the current CRC value, bit-flipped
- crc32 - Variable in class org.xerial.snappy.SnappyFramedInputStream
- crc32 - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- create(int) - Method in interface org.xerial.snappy.pool.CachingBufferPool.IntFunction
- currentHeader - Static variable in class org.xerial.snappy.SnappyCodec
D
- DBB_FUNCTION - Static variable in class org.xerial.snappy.pool.CachingBufferPool
- DEFAULT_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyFramedOutputStream
-
The default block size to use.
- DEFAULT_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyOutputStream
- 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
- defaultPool - Static variable in class org.xerial.snappy.pool.DefaultPoolFactory
- DefaultPoolFactory - Class in org.xerial.snappy.pool
-
Manages implementation of
BufferPool
to use by default. - DefaultPoolFactory() - Constructor for class org.xerial.snappy.pool.DefaultPoolFactory
- DIRECT_BUFFER_CLAZZ - Static variable in class org.xerial.snappy.pool.DirectByteBuffers
-
Sun specific mechanisms to clean up resources associated with direct byte buffers.
- DirectByteBuffers - Class in org.xerial.snappy.pool
-
Utility to facilitate disposing of direct byte buffer instances.
- DirectByteBuffers() - Constructor for class org.xerial.snappy.pool.DirectByteBuffers
- directInputBuffer - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- 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
- ensureBuffer() - Method in class org.xerial.snappy.SnappyFramedInputStream
- eof - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
Indicates if we have reached the EOF on
SnappyFramedInputStream.input
. - errorCode - Variable in error org.xerial.snappy.SnappyError
- errorCode - Variable in exception org.xerial.snappy.SnappyException
-
Deprecated.
- errorCode - Variable in exception org.xerial.snappy.SnappyIOException
- extractLibraryFile(String, String, String) - Static method in class org.xerial.snappy.SnappyLoader
-
Extract the specified library file to the target folder
F
- factory - Static variable in class org.xerial.snappy.buffer.CachedBufferAllocator
- 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
- findNativeLibrary() - Static method in class org.xerial.snappy.SnappyLoader
- finishedReading - Variable in class org.xerial.snappy.SnappyInputStream
- FLOAT - org.xerial.snappy.BitShuffleType
- flush() - Method in class org.xerial.snappy.SnappyFramedOutputStream
- flush() - Method in class org.xerial.snappy.SnappyOutputStream
- flushBuffer() - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
Compresses and writes out any buffered data.
- frameAction - Variable in class org.xerial.snappy.SnappyFramedInputStream.FrameMetaData
- FrameAction() - Constructor for enum org.xerial.snappy.SnappyFramedInputStream.FrameAction
- FrameData(int, int) - Constructor for class org.xerial.snappy.SnappyFramedInputStream.FrameData
- frameHeader - Variable in class org.xerial.snappy.SnappyFramedInputStream
- 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
- getCRC32C() - Static method in class org.xerial.snappy.SnappyFramed
- 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
- getFrameData(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedInputStream
- getFrameMetaData(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedInputStream
- getHardwareName() - Static method in class org.xerial.snappy.OSInfo
- 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
- getOrCreate(int, ConcurrentMap<Integer, ConcurrentLinkedDeque<SoftReference<E>>>, CachingBufferPool.IntFunction<E>) - Static method in class org.xerial.snappy.pool.CachingBufferPool
- getOSName() - Static method in class org.xerial.snappy.OSInfo
- getResourceAsInputStream(String) - Static method in class org.xerial.snappy.SnappyLoader
- 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
- hasResource(String) - Static method in class org.xerial.snappy.SnappyLoader
- hasSufficientOutputBufferFor(int) - Method in class org.xerial.snappy.SnappyOutputStream
- header - Variable in class org.xerial.snappy.SnappyInputStream
- HEADER_BYTES - Static variable in class org.xerial.snappy.SnappyFramed
-
The header consists of the stream identifier flag, 3 bytes indicating a length of 6, and "sNaPpY" in ASCII.
- HEADER_SIZE - Static variable in class org.xerial.snappy.SnappyCodec
- headerArray - Variable in class org.xerial.snappy.SnappyCodec
- headerBuffer - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- headerSize() - Static method in class org.xerial.snappy.SnappyCodec
- headerWritten - Variable in class org.xerial.snappy.SnappyOutputStream
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
- impl - Static variable in class org.xerial.snappy.BitShuffle
-
An instance of BitShuffleNative
- impl - Static variable in class org.xerial.snappy.Snappy
-
An instance of SnappyNative
- in - Variable in class org.xerial.snappy.SnappyInputStream
- INCOMPATIBLE_VERSION - org.xerial.snappy.SnappyErrorCode
- init() - Static method in class org.xerial.snappy.Snappy
- input - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
A single frame read from the underlying
InputStream
. - inputBuffer - Variable in class org.xerial.snappy.SnappyOutputStream
- inputBufferAllocator - Variable in class org.xerial.snappy.SnappyOutputStream
- inputCursor - Variable in class org.xerial.snappy.SnappyOutputStream
- INSTANCE - Static variable in class org.xerial.snappy.pool.CachingBufferPool
- INSTANCE - Static variable in class org.xerial.snappy.pool.QuiescentBufferPool
- INT - org.xerial.snappy.BitShuffleType
- INVALID_CHUNK_SIZE - org.xerial.snappy.SnappyErrorCode
- isAndroid() - Static method in class org.xerial.snappy.OSInfo
- isLoaded - Static variable in class org.xerial.snappy.SnappyLoader
- 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
- isValidHeader(byte[]) - Static method in class org.xerial.snappy.SnappyInputStream
- 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
- length - Variable in class org.xerial.snappy.SnappyFramedInputStream.FrameMetaData
- LIBRARY_NAME - Static variable in class org.xerial.snappy.SnappyBundleActivator
-
Name of the Snappy native library
- loadBitShuffleApi() - Static method in class org.xerial.snappy.SnappyLoader
- loadNativeLibrary() - Static method in class org.xerial.snappy.SnappyLoader
-
Load a native library of snappy-java
- loadSnappyApi() - Static method in class org.xerial.snappy.SnappyLoader
- loadSnappySystemProperties() - Static method in class org.xerial.snappy.SnappyLoader
-
load system properties when configuration file of the name
SnappyLoader.SNAPPY_SYSTEM_PROPERTIES_FILE
is found - LONG - org.xerial.snappy.BitShuffleType
- lookupClassQuietly(String) - Static method in class org.xerial.snappy.pool.DirectByteBuffers
- LOONGARCH_64 - Static variable in class org.xerial.snappy.OSInfo
M
- magic - Variable in class org.xerial.snappy.SnappyCodec
- MAGIC_HEADER - Static 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
- mask(int) - Static method in class org.xerial.snappy.SnappyFramed
-
Checksums are not stored directly, but masked, as checksumming data and then its own checksum can be problematic.
- MASK_DELTA - Static variable in class org.xerial.snappy.SnappyFramed
- maskedCrc32c(Checksum, byte[], int, int) - Static method in class org.xerial.snappy.SnappyFramed
- 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.
- MAX_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyOutputStream
- MAX_CHUNK_SIZE - Static variable in class org.xerial.snappy.SnappyInputStream
- maxChunkSize - Variable in class org.xerial.snappy.SnappyInputStream
- 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
- MIN_BLOCK_SIZE - Static variable in class org.xerial.snappy.SnappyOutputStream
- minCompressionRatio - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- MINIMUM_COMPATIBLE_VERSION - Static variable in class org.xerial.snappy.SnappyCodec
N
- nativeLibFile - Static variable in class org.xerial.snappy.SnappyLoader
- nativeLibraryVersion() - Method in class org.xerial.snappy.SnappyNative
- nonNull(Object) - Static method in class org.xerial.snappy.pool.DirectByteBuffers
- NOT_A_DIRECT_BUFFER - org.xerial.snappy.SnappyErrorCode
O
- offset - Variable in class org.xerial.snappy.SnappyFramedInputStream.FrameData
- optimisticGetEntry(Integer, ConcurrentMap<Integer, ConcurrentLinkedDeque<SoftReference<E>>>) - Static method in class org.xerial.snappy.pool.CachingBufferPool
- 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.SnappyFramedOutputStream
- out - Variable in class org.xerial.snappy.SnappyOutputStream
- OUT_OF_MEMORY - org.xerial.snappy.SnappyErrorCode
- outputBuffer - Variable in class org.xerial.snappy.SnappyFramedOutputStream
- outputBuffer - Variable in class org.xerial.snappy.SnappyOutputStream
- outputBufferAllocator - Variable in class org.xerial.snappy.SnappyOutputStream
- outputCursor - Variable in class org.xerial.snappy.SnappyOutputStream
P
- PARSING_ERROR - org.xerial.snappy.SnappyErrorCode
- position - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
The next position to read from
SnappyFramedInputStream.buffer
. - 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
- queueTable - Static variable in class org.xerial.snappy.buffer.CachedBufferAllocator
-
Use SoftReference so that having this queueTable does not prevent the GC of CachedBufferAllocator instances
- QuiescentBufferPool - Class in org.xerial.snappy.pool
-
A
BufferPool
implementation which does no pooling. - QuiescentBufferPool() - Constructor for class org.xerial.snappy.pool.QuiescentBufferPool
R
- RAW - org.xerial.snappy.SnappyFramedInputStream.FrameAction
- 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.
- rbc - Variable in class org.xerial.snappy.SnappyFramedInputStream
- 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
- readBlockHeader() - Method in class org.xerial.snappy.SnappyFramedInputStream
- readBytes(ReadableByteChannel, ByteBuffer) - Static method in class org.xerial.snappy.SnappyFramed
- 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
- readInt(byte[], int) - Static method in class org.xerial.snappy.SnappyOutputStream
- readNext(byte[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
-
Read next len bytes
- 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.
- releaseDirectByteBuffer(ByteBuffer) - Static method in class org.xerial.snappy.pool.DirectByteBuffers
-
Provides jvm implementation specific operation to aggressively release resources associated with buffer.
- reset() - Method in class org.xerial.snappy.PureJavaCrc32C
- resolveArmArchType() - Static method in class org.xerial.snappy.OSInfo
- returnValue(E, Integer, ConcurrentMap<Integer, ConcurrentLinkedDeque<SoftReference<E>>>) - Static method in class org.xerial.snappy.pool.CachingBufferPool
- RISCV_64 - Static variable in class org.xerial.snappy.OSInfo
- roundToPowers(int, int) - Static method in class org.xerial.snappy.pool.CachingBufferPool
S
- serialVersionUID - Static variable in error org.xerial.snappy.SnappyError
- serialVersionUID - Static variable in exception org.xerial.snappy.SnappyException
-
Deprecated.
- 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.
- setSnappyApi(SnappyApi) - Static method in class org.xerial.snappy.SnappyLoader
-
Set the `snappyApi` instance.
- 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
- skip(ReadableByteChannel, int, ByteBuffer) - Static method in class org.xerial.snappy.SnappyFramed
- SKIP - org.xerial.snappy.SnappyFramedInputStream.FrameAction
- 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 - 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
. - SnappyCodec(byte[], int, int) - Constructor for class org.xerial.snappy.SnappyCodec
- 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
- SnappyErrorCode(int) - Constructor for enum org.xerial.snappy.SnappyErrorCode
- 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.
- SnappyFramed - Class in org.xerial.snappy
-
Constants and utilities for implementing x-snappy-framed.
- SnappyFramed() - Constructor for class org.xerial.snappy.SnappyFramed
- 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.FrameAction - Enum in org.xerial.snappy
- 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
- 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
-
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
- STREAM_IDENTIFIER_FLAG - Static variable in class org.xerial.snappy.SnappyFramed
T
- T8_0 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_1 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_2 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_3 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_4 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_5 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_6 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- T8_7 - Static variable in class org.xerial.snappy.PureJavaCrc32C
- 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. - translateArchNameToFolderName(String) - Static method in class org.xerial.snappy.OSInfo
- translateOSNameToFolderName(String) - Static method in class org.xerial.snappy.OSInfo
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.
- UNCOMPRESS - org.xerial.snappy.SnappyFramedInputStream.FrameAction
- 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
- uncompressed - Variable in class org.xerial.snappy.SnappyInputStream
- UNCOMPRESSED_DATA_FLAG - Static variable in class org.xerial.snappy.SnappyFramed
- uncompressedCursor - Variable in class org.xerial.snappy.SnappyInputStream
- uncompressedDirect - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
The decompressed data from
SnappyFramedInputStream.input
. - 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
- uncompressedLimit - Variable in class org.xerial.snappy.SnappyInputStream
- 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
- valid - Variable in class org.xerial.snappy.SnappyFramedInputStream
-
The position in
SnappyFramedInputStream.input
buffer to read to. - 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.
- valueOf(String) - Static method in enum org.xerial.snappy.SnappyFramedInputStream.FrameAction
-
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.
- values() - Static method in enum org.xerial.snappy.SnappyFramedInputStream.FrameAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyChecksums - Variable in class org.xerial.snappy.SnappyFramedInputStream
- 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
- writeBlock(WritableByteChannel, ByteBuffer, boolean, int) - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
Write a frame (block) to out.
- writeBlockPreemble() - Method in class org.xerial.snappy.SnappyHadoopCompatibleOutputStream
- writeBlockPreemble() - Method in class org.xerial.snappy.SnappyOutputStream
-
Optionally write a preemble before a block.
- writeCompressed(ByteBuffer) - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
SnappyFramed#maskedCrc32c(byte[], int, int)
the crc, compresses the data, determines if the compression ratio is acceptable and callsSnappyFramedOutputStream.writeBlock(java.nio.channels.WritableByteChannel, java.nio.ByteBuffer, boolean, int)
to actually write the frame. - 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
- writeHeader(WritableByteChannel) - Method in class org.xerial.snappy.SnappyFramedOutputStream
-
Writes the implementation specific header or "marker bytes" to out.
- writeInt(byte[], int, int) - Static method in class org.xerial.snappy.SnappyOutputStream
X
- X86 - Static variable in class org.xerial.snappy.OSInfo
- X86_64 - Static variable in class org.xerial.snappy.OSInfo
All Classes All Packages