Package | Description |
---|---|
org.apache.cassandra.db.commitlog | |
org.apache.cassandra.hints |
Hints subsystem consists of several components.
|
org.apache.cassandra.io.compress | |
org.apache.cassandra.schema | |
org.apache.cassandra.security |
Modifier and Type | Method and Description |
---|---|
ICompressor |
CommitLog.Configuration.getCompressor()
Returns the compressor used to compress the segments.
|
Modifier and Type | Method and Description |
---|---|
static ChecksummedDataInput |
EncryptedChecksummedDataInput.upgradeInput(ChecksummedDataInput input,
javax.crypto.Cipher cipher,
ICompressor compressor) |
static ChecksummedDataInput |
CompressedChecksummedDataInput.upgradeInput(ChecksummedDataInput input,
ICompressor compressor) |
Constructor and Description |
---|
CompressedChecksummedDataInput(ChannelProxy channel,
ICompressor compressor,
long filePosition) |
EncryptedChecksummedDataInput(ChannelProxy channel,
javax.crypto.Cipher cipher,
ICompressor compressor,
long filePosition) |
Modifier and Type | Class and Description |
---|---|
class |
DeflateCompressor |
class |
LZ4Compressor |
class |
SnappyCompressor |
Modifier and Type | Method and Description |
---|---|
ICompressor |
CompressionMetadata.compressor() |
Modifier and Type | Method and Description |
---|---|
static ICompressor |
CompressionParams.createCompressor(ParameterizedClass compression) |
ICompressor |
CompressionParams.getSstableCompressor()
Returns the SSTable compressor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends ICompressor> |
CompressionParams.klass() |
Modifier and Type | Method and Description |
---|---|
ICompressor |
EncryptionContext.getCompressor() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
EncryptionUtils.compress(java.nio.ByteBuffer inputBuffer,
java.nio.ByteBuffer outputBuffer,
boolean allowBufferResize,
ICompressor compressor)
Compress the raw data, as well as manage sizing of the
outputBuffer ; if the buffer is not big enough,
deallocate current, and allocate a large enough buffer. |
static int |
EncryptionUtils.uncompress(byte[] input,
int inputOffset,
int inputLength,
byte[] output,
int outputOffset,
ICompressor compressor) |
static java.nio.ByteBuffer |
EncryptionUtils.uncompress(java.nio.ByteBuffer inputBuffer,
java.nio.ByteBuffer outputBuffer,
boolean allowBufferResize,
ICompressor compressor)
Uncompress the input data, as well as manage sizing of the
outputBuffer ; if the buffer is not big enough,
deallocate current, and allocate a large enough buffer. |
Copyright © 2020 The Apache Software Foundation