public static class TableOptions.CompressionOptions.NoCompression extends TableOptions.CompressionOptions
TableOptions.CompressionOptions.Algorithm, TableOptions.CompressionOptions.NoCompression| Constructor and Description |
|---|
NoCompression() |
| Modifier and Type | Method and Description |
|---|---|
TableOptions.CompressionOptions |
withChunkLengthInKb(Integer chunkLengthInKb)
On disk, SSTables are compressed by block to allow random reads.
|
TableOptions.CompressionOptions |
withCRCCheckChance(Double crcCheckChance)
When compression is enabled, each compressed block includes a checksum of that block for the
purpose of detecting disk bitrate and avoiding the propagation of corruption to other
replica.
|
buildpublic TableOptions.CompressionOptions withChunkLengthInKb(Integer chunkLengthInKb)
TableOptions.CompressionOptionsIf no call is made to this method, the default value set by Cassandra is 54.
withChunkLengthInKb in class TableOptions.CompressionOptionschunkLengthInKb - the new value.public TableOptions.CompressionOptions withCRCCheckChance(Double crcCheckChance)
TableOptions.CompressionOptionsIf no call is made to this method, the default value set by Cassandra is 1.0 (always check).
withCRCCheckChance in class TableOptions.CompressionOptionscrcCheckChance - the new value.Copyright © 2012–2018. All rights reserved.