Package | Description |
---|---|
org.xerial.snappy |
Snappy API for compressing/decompressing data.
|
org.xerial.snappy.pool |
Constructor and Description |
---|
SnappyFramedInputStream(InputStream in,
boolean verifyChecksums,
BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying
input stream.
|
SnappyFramedInputStream(InputStream in,
BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying
input stream.
|
SnappyFramedInputStream(ReadableByteChannel in,
boolean verifyChecksums,
BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying
channel.
|
SnappyFramedInputStream(ReadableByteChannel in,
BufferPool bufferPool)
Creates a Snappy input stream to read data from the specified underlying
channel.
|
SnappyFramedOutputStream(OutputStream out,
BufferPool bufferPool)
Creates a new
SnappyFramedOutputStream using the SnappyFramedOutputStream.DEFAULT_BLOCK_SIZE
and SnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO . |
SnappyFramedOutputStream(OutputStream out,
int blockSize,
double minCompressionRatio,
BufferPool bufferPool)
Creates a new
SnappyFramedOutputStream instance. |
SnappyFramedOutputStream(WritableByteChannel out,
BufferPool bufferPool)
Creates a new
SnappyFramedOutputStream using the
SnappyFramedOutputStream.DEFAULT_BLOCK_SIZE and SnappyFramedOutputStream.DEFAULT_MIN_COMPRESSION_RATIO . |
SnappyFramedOutputStream(WritableByteChannel out,
int blockSize,
double minCompressionRatio,
BufferPool bufferPool)
Creates a new
SnappyFramedOutputStream instance. |
Modifier and Type | Class and Description |
---|---|
class |
CachingBufferPool
A
BufferPool implementation which caches values at fixed sizes. |
class |
QuiescentBufferPool
A
BufferPool implementation which does no pooling. |
Modifier and Type | Method and Description |
---|---|
static BufferPool |
DefaultPoolFactory.getDefaultPool() |
static BufferPool |
CachingBufferPool.getInstance()
Returns instance of
CachingBufferPool for using cached buffers. |
static BufferPool |
QuiescentBufferPool.getInstance() |
Modifier and Type | Method and Description |
---|---|
static void |
DefaultPoolFactory.setDefaultPool(BufferPool pool)
Sets the default instance to use.
|
Copyright © 2024 xerial.org. All rights reserved.