Package | Description |
---|---|
org.apache.cassandra.io.compress | |
org.apache.cassandra.io.util |
Modifier and Type | Method and Description |
---|---|
BufferType |
DeflateCompressor.preferredBufferType() |
BufferType |
ICompressor.preferredBufferType()
Returns the preferred (most efficient) buffer type for this compressor.
|
BufferType |
LZ4Compressor.preferredBufferType() |
BufferType |
SnappyCompressor.preferredBufferType() |
static BufferType |
BufferType.typeOf(java.nio.ByteBuffer buffer) |
static BufferType |
BufferType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferType[] |
BufferType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
CompressedRandomAccessReader.allocateBuffer(int bufferSize,
BufferType bufferType) |
boolean |
DeflateCompressor.supports(BufferType bufferType) |
boolean |
ICompressor.supports(BufferType bufferType)
Checks if the given buffer would be supported by the compressor.
|
boolean |
LZ4Compressor.supports(BufferType bufferType) |
boolean |
SnappyCompressor.supports(BufferType bufferType) |
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
RandomAccessReader.allocateBuffer(int bufferSize,
BufferType bufferType) |
Constructor and Description |
---|
RandomAccessReader(ChannelProxy channel,
int bufferSize,
long overrideLength,
BufferType bufferType,
PoolingSegmentedFile owner) |
SequentialWriter(java.io.File file,
int bufferSize,
BufferType bufferType) |
Copyright © 2018 The Apache Software Foundation