| Package | Description |
|---|---|
| org.apache.cassandra.db.streaming |
File transfer
|
| org.apache.cassandra.io.compress |
| Modifier and Type | Method and Description |
|---|---|
abstract CompressionMetadata.Chunk[] |
CompressionInfo.chunks()
Returns the offset and length of the file chunks.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionInfo |
CompressionInfo.newInstance(CompressionMetadata.Chunk[] chunks,
CompressionParams parameters)
Create a
CompressionInfo instance which is fully initialized. |
| Modifier and Type | Field and Description |
|---|---|
static IVersionedSerializer<CompressionMetadata.Chunk> |
CompressionMetadata.Chunk.serializer |
| Modifier and Type | Method and Description |
|---|---|
CompressionMetadata.Chunk |
CompressionMetadata.chunkFor(long position)
Get a chunk of compressed data (offset, length) corresponding to given position
|
CompressionMetadata.Chunk[] |
CompressionMetadata.getChunksForSections(java.util.Collection<SSTableReader.PartitionPositionBounds> sections) |
| Constructor and Description |
|---|
CorruptBlockException(java.lang.String filePath,
CompressionMetadata.Chunk chunk) |
CorruptBlockException(java.lang.String filePath,
CompressionMetadata.Chunk chunk,
java.lang.Throwable cause) |
Copyright © 2009-2020 The Apache Software Foundation