public static class TableOptions.CompressionOptions extends Object
SchemaBuilder.noCompression()
,
SchemaBuilder.lz4()
,
SchemaBuilder.snappy()
or
SchemaBuilder.deflate()
.Modifier and Type | Class and Description |
---|---|
static class |
TableOptions.CompressionOptions.Algorithm
Compression algorithms.
|
static class |
TableOptions.CompressionOptions.NoCompression |
Modifier and Type | Method and Description |
---|---|
String |
build() |
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.
|
public TableOptions.CompressionOptions withChunkLengthInKb(Integer chunkLengthInKb)
chunkLengthInKb
- the new value.public TableOptions.CompressionOptions withCRCCheckChance(Double crcCheckChance)
crcCheckChance
- the new value.public String build()
Copyright © 2012–2017. All rights reserved.