A C D E F G H I K M N O R S T U V W

A

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 class org.xerial.snappy.SnappyNative
 
arrayCopy(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 

C

close() - Method in class org.xerial.snappy.SnappyInputStream
 
close() - Method 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(ByteBuffer, ByteBuffer) - Static method in class org.xerial.snappy.Snappy
Compress the content in the given input buffer.
compress(char[]) - Static method in class org.xerial.snappy.Snappy
 
compress(double[]) - Static method in class org.xerial.snappy.Snappy
 
compress(float[]) - Static method in class org.xerial.snappy.Snappy
 
compress(int[]) - Static method in class org.xerial.snappy.Snappy
 
compress(long[]) - Static method in class org.xerial.snappy.Snappy
 
compress(short[]) - Static method in class org.xerial.snappy.Snappy
 
compress(String) - Static method in class org.xerial.snappy.Snappy
 
compress(String, String) - Static method in class org.xerial.snappy.Snappy
 
compressed - Variable in class org.xerial.snappy.SnappyOutputStream
 
currentHeader() - Static method in class org.xerial.snappy.SnappyCodec
 

D

DEFAULT_VERSION - Static variable in class org.xerial.snappy.SnappyCodec
 
dump() - Method in class org.xerial.snappy.SnappyOutputStream
 

E

errorCode - Variable in error org.xerial.snappy.SnappyError
 
errorCode - Variable in exception org.xerial.snappy.SnappyException
Deprecated.  

F

flush() - Method in class org.xerial.snappy.SnappyOutputStream
 

G

getArchName() - Static method in class org.xerial.snappy.OSInfo
 
getErrorCode(int) - Static method in enum org.xerial.snappy.SnappyErrorCode
 
getErrorCode() - Method in exception org.xerial.snappy.SnappyException
Deprecated.  
getErrorMessage(int) - Static method in enum org.xerial.snappy.SnappyErrorCode
 
getMajorVersion() - Static method in class org.xerial.snappy.SnappyLoader
 
getMessage() - Method in error org.xerial.snappy.SnappyError
 
getMessage() - Method in exception org.xerial.snappy.SnappyException
Deprecated.  
getMinorVersion() - Static method in class org.xerial.snappy.SnappyLoader
 
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
 
getVersion() - Static method in class org.xerial.snappy.SnappyLoader
 

H

hasNextChunk() - Method in class org.xerial.snappy.SnappyInputStream
 
headerSize() - Static method in class org.xerial.snappy.SnappyCodec
 

I

id - Variable in enum org.xerial.snappy.SnappyErrorCode
 
in - Variable in class org.xerial.snappy.SnappyInputStream
 
isNativeLibraryLoaded() - Static method in class org.xerial.snappy.SnappyLoader
 
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(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(ByteBuffer) - Static method in class org.xerial.snappy.Snappy
Returns true iff the contents of compressed buffer [pos() ...
isValidCompressedBuffer(ByteBuffer, int, int) - Method in class org.xerial.snappy.SnappyNative
 
isValidCompressedBuffer(Object, int, int) - Method in class org.xerial.snappy.SnappyNative
 
isValidCompressedBuffer(ByteBuffer, int, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
isValidCompressedBuffer(Object, int, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
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_TEMPDIR - Static variable in class org.xerial.snappy.SnappyLoader
 

M

magic - Variable in class org.xerial.snappy.SnappyCodec
 
MAGIC_HEADER - 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
 
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 class org.xerial.snappy.SnappyNative
 
maxCompressedLength(int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
MINIMUM_COMPATIBLE_VERSION - Static variable in class org.xerial.snappy.SnappyCodec
 

N

nativeLibraryVersion() - Method in class org.xerial.snappy.SnappyNative
 
nativeLibraryVersion() - Method in interface org.xerial.snappy.SnappyNativeAPI
 

O

org.xerial.snappy - package org.xerial.snappy
 
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
 

R

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(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
 
rawCompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
rawCompress(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
rawRead(Object, int, int) - Method in class org.xerial.snappy.SnappyInputStream
 
rawUncompress(byte[], int, int, Object, int) - Static method in class org.xerial.snappy.Snappy
Uncompress the content in the input buffer.
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
 
rawUncompress(ByteBuffer, int, int, ByteBuffer, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
rawUncompress(Object, int, int, Object, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
rawWrite(Object, int, int) - Method in class org.xerial.snappy.SnappyOutputStream
Compress the raw byte array data.
read(byte[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
 
read(long[], int, int) - Method in class org.xerial.snappy.SnappyInputStream
 
read(long[]) - Method in class org.xerial.snappy.SnappyInputStream
 
read() - Method in class org.xerial.snappy.SnappyInputStream
 
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
 

S

Snappy - Class in org.xerial.snappy
Snappy API for data compression/decompression
Snappy() - Constructor for class org.xerial.snappy.Snappy
 
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) in snappy-java 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.  
SnappyInputStream - Class in org.xerial.snappy
A stream filter for reading data compressed by SnappyOutputStream.
SnappyInputStream(InputStream) - Constructor for class org.xerial.snappy.SnappyInputStream
 
SnappyLoader - Class in org.xerial.snappy
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 SnappyNativeAPI implementation.
SnappyNative() - Constructor for class org.xerial.snappy.SnappyNative
 
SnappyNativeAPI - Interface in org.xerial.snappy
Interface to access the native code of Snappy.
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
 
start(BundleContext) - Method in class org.xerial.snappy.SnappyBundleActivator
 
stop(BundleContext) - Method in class org.xerial.snappy.SnappyBundleActivator
 

T

throw_error(int) - Method in class org.xerial.snappy.SnappyNative
 
throw_error(int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
throwException(int) - Static method in exception org.xerial.snappy.SnappyException
Deprecated.  
toString() - Method in class org.xerial.snappy.SnappyCodec
 
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.
uncompressCharArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressCharArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressDoubleArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressed - Variable in class org.xerial.snappy.SnappyOutputStream
 
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(ByteBuffer, int, int) - Method in class org.xerial.snappy.SnappyNative
 
uncompressedLength(Object, int, int) - Method in class org.xerial.snappy.SnappyNative
 
uncompressedLength(ByteBuffer, int, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
uncompressedLength(Object, int, int) - Method in interface org.xerial.snappy.SnappyNativeAPI
 
uncompressFloatArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressFloatArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressIntArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressIntArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressLongArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressLongArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressShortArray(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressShortArray(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressString(byte[]) - Static method in class org.xerial.snappy.Snappy
 
uncompressString(byte[], int, int) - Static method in class org.xerial.snappy.Snappy
 
uncompressString(byte[], int, int, String) - Static method in class org.xerial.snappy.Snappy
 
uncompressString(byte[], String) - Static method in class org.xerial.snappy.Snappy
 

V

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.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.SnappyOutputStream
 
write(long[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
Compress the input long array data
write(float[], int, int) - Method in class org.xerial.snappy.SnappyOutputStream
 
write(long[]) - Method in class org.xerial.snappy.SnappyOutputStream
 
write(float[]) - Method in class org.xerial.snappy.SnappyOutputStream
 
write(int) - Method in class org.xerial.snappy.SnappyOutputStream
 
writeHeader(OutputStream) - Method in class org.xerial.snappy.SnappyCodec
 
writeHeader() - Method in class org.xerial.snappy.SnappyOutputStream
 

A C D E F G H I K M N O R S T U V W

Copyright © 2011. All Rights Reserved.