| Package | Description | 
|---|---|
| org.apache.cassandra.io.compress | |
| org.apache.cassandra.io.sstable.format | |
| org.apache.cassandra.io.util | |
| org.apache.cassandra.streaming.messages | 
| Modifier and Type | Method and Description | 
|---|---|
| static CompressionMetadata | CompressionMetadata. create(java.lang.String dataFilePath)Create metadata about given compressed file including uncompressed data length, chunk size
 and list of the chunk offsets of the compressed data. | 
| CompressionMetadata | CompressedSequentialWriter. open(long overrideLength) | 
| CompressionMetadata | CompressionMetadata.Writer. open(long dataLength,
    long compressedLength) | 
| Modifier and Type | Method and Description | 
|---|---|
| CompressionMetadata | SSTableReader. getCompressionMetadata()Returns the compression metadata for this sstable. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Optional<CompressionMetadata> | FileHandle. compressionMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| static MmappedRegions | MmappedRegions. map(ChannelProxy channel,
   CompressionMetadata metadata) | 
| FileHandle.Builder | FileHandle.Builder. withCompressionMetadata(CompressionMetadata metadata)Provide  CompressionMetadatato use when reading compressed file. | 
| Constructor and Description | 
|---|
| CompressedChunkReader(ChannelProxy channel,
                     CompressionMetadata metadata) | 
| Mmap(ChannelProxy channel,
    CompressionMetadata metadata,
    MmappedRegions regions) | 
| Standard(ChannelProxy channel,
        CompressionMetadata metadata) | 
| Constructor and Description | 
|---|
| FileMessageHeader(java.util.UUID cfId,
                 int sequenceNumber,
                 Version version,
                 SSTableFormat.Type format,
                 long estimatedKeys,
                 java.util.List<Pair<java.lang.Long,java.lang.Long>> sections,
                 CompressionMetadata compressionMetadata,
                 long repairedAt,
                 int sstableLevel,
                 SerializationHeader.Component header) | 
Copyright © 2018 The Apache Software Foundation