Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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 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(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 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
currentHeader()
- Static method in class org.xerial.snappy.
SnappyCodec
D
DEFAULT_VERSION
- Static variable in class org.xerial.snappy.
SnappyCodec
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
getMessage()
- Method in error org.xerial.snappy.
SnappyError
getMessage()
- Method in exception org.xerial.snappy.
SnappyException
Deprecated.
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
Get the snappy-java version by reading pom.properties embedded in jar.
H
headerSize()
- Static method in class org.xerial.snappy.
SnappyCodec
I
id
- Variable in enum org.xerial.snappy.
SnappyErrorCode
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
KEY_SNAPPY_USE_SYSTEMLIB
- 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
Snappy API for compressing/decompressing data.
OSInfo
- Class in
org.xerial.snappy
Provides OS name and architecture name.
OSInfo()
- Constructor for class org.xerial.snappy.
OSInfo
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
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(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
Reads up to len bytes of data from the input stream into an array of bytes.
read(long[], int, int)
- Method in class org.xerial.snappy.
SnappyInputStream
Read long array from the stream
read(long[])
- Method in class org.xerial.snappy.
SnappyInputStream
Read long array from the stream
read(double[], int, int)
- Method in class org.xerial.snappy.
SnappyInputStream
Read double array from the stream
read(double[])
- Method in class org.xerial.snappy.
SnappyInputStream
Read double array from the stream
read(int[])
- Method in class org.xerial.snappy.
SnappyInputStream
Read int array from the stream
read(int[], int, int)
- Method in class org.xerial.snappy.
SnappyInputStream
Read int array from the stream
read(float[], int, int)
- Method in class org.xerial.snappy.
SnappyInputStream
Read float array from the stream
read(float[])
- Method in class org.xerial.snappy.
SnappyInputStream
Read float array from the stream
read(short[], int, int)
- Method in class org.xerial.snappy.
SnappyInputStream
Read short array from the stream
read(short[])
- Method in class org.xerial.snappy.
SnappyInputStream
Read short array from the stream
read()
- Method in class org.xerial.snappy.
SnappyInputStream
Reads the next byte of uncompressed data from the input stream.
readHeader(InputStream)
- Static method in class org.xerial.snappy.
SnappyCodec
S
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
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.
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
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
Internal only - Do not use this class.
JNI interface of the
SnappyNativeAPI
implementation.
SnappyNative()
- Constructor for class org.xerial.snappy.
SnappyNative
SnappyNativeAPI
- Interface in
org.xerial.snappy
Internal only - Do not use this class.
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
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
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
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
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
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(long[], int, int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input long array data
write(double[], int, int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input double array data
write(float[], int, int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input float array data
write(int[], int, int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input int array data
write(short[], int, int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input short array data
write(long[])
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input array data
write(double[])
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input array data
write(float[])
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input array data
write(int[])
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input array data
write(short[])
- Method in class org.xerial.snappy.
SnappyOutputStream
Compress the input array data
write(int)
- Method in class org.xerial.snappy.
SnappyOutputStream
Writes the specified byte to this output stream.
writeHeader(OutputStream)
- Method in class org.xerial.snappy.
SnappyCodec
A
C
D
E
F
G
H
I
K
M
N
O
R
S
T
U
V
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011
xerial.org
. All Rights Reserved.