Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Class and Description |
---|---|
static class |
TableOptions.CompressionOptions.NoCompression |
Modifier and Type | Method and Description |
---|---|
static TableOptions.CompressionOptions |
SchemaBuilder.deflate()
Create options for the Deflate compression strategy, to use in a CREATE or ALTER TABLE statement.
|
static TableOptions.CompressionOptions |
SchemaBuilder.lz4()
Create options for the LZ4 compression strategy, to use in a CREATE or ALTER TABLE statement.
|
static TableOptions.CompressionOptions |
SchemaBuilder.noCompression()
Create options for the
NONE compression strategy, to use in a CREATE or ALTER TABLE statement. |
static TableOptions.CompressionOptions |
SchemaBuilder.snappy()
Create options for the Snappy compression strategy, to use in a CREATE or ALTER TABLE statement.
|
TableOptions.CompressionOptions |
TableOptions.CompressionOptions.withChunkLengthInKb(Integer chunkLengthInKb)
On disk, SSTables are compressed by block to allow random reads.
|
TableOptions.CompressionOptions |
TableOptions.CompressionOptions.NoCompression.withChunkLengthInKb(Integer chunkLengthInKb) |
TableOptions.CompressionOptions |
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.
|
TableOptions.CompressionOptions |
TableOptions.CompressionOptions.NoCompression.withCRCCheckChance(Double crcCheckChance) |
Modifier and Type | Method and Description |
---|---|
T |
TableOptions.compressionOptions(TableOptions.CompressionOptions compressionOptions)
Define the compression options.
|