public class TableOptionsMetadata extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
double |
getBloomFilterFalsePositiveChance()
Returns the false positive chance for the Bloom filter of this table.
|
Map<String,String> |
getCaching()
Returns the caching options for this table.
|
String |
getComment()
Returns the commentary set for this table.
|
Map<String,String> |
getCompaction()
Returns the compaction options for this table.
|
Map<String,String> |
getCompression()
Returns the compression options for this table.
|
Double |
getCrcCheckChance()
When compression is enabled, this option defines the probability
with which checksums for compressed blocks are checked during reads.
|
int |
getDefaultTimeToLive()
Returns the default TTL for this table.
|
Map<String,ByteBuffer> |
getExtensions()
Returns the extension options for this table.
|
int |
getGcGraceInSeconds()
Returns the tombstone garbage collection grace time in seconds for this table.
|
Integer |
getIndexInterval()
Returns the index interval option for this table.
|
double |
getLocalReadRepairChance()
Returns the cluster local read repair chance set for this table.
|
Integer |
getMaxIndexInterval()
Returns the maximum index interval option for this table.
|
int |
getMemtableFlushPeriodInMs() |
Integer |
getMinIndexInterval()
Returns the minimum index interval option for this table.
|
boolean |
getPopulateIOCacheOnFlush()
Whether the populate I/O cache on flush is set on this table.
|
double |
getReadRepairChance()
Returns the chance with which a read repair is triggered for this table.
|
boolean |
getReplicateOnWrite()
Returns whether replicateOnWrite is set for this table.
|
String |
getSpeculativeRetry()
Returns the speculative retry option for this table.
|
int |
hashCode() |
boolean |
isCDC()
Returns whether or not change data capture is enabled for this table.
|
boolean |
isCompactStorage()
Returns whether the table uses the
COMPACT STORAGE option. |
public boolean isCompactStorage()
COMPACT STORAGE
option.COMPACT STORAGE
option.public String getComment()
null
if noe has been set.public double getReadRepairChance()
public double getLocalReadRepairChance()
public boolean getReplicateOnWrite()
public int getGcGraceInSeconds()
public double getBloomFilterFalsePositiveChance()
public Map<String,String> getCaching()
public boolean getPopulateIOCacheOnFlush()
public int getMemtableFlushPeriodInMs()
public int getDefaultTimeToLive()
public String getSpeculativeRetry()
public Integer getIndexInterval()
null
for 2.1 nodes.public Integer getMinIndexInterval()
null
for earlier versions.public Integer getMaxIndexInterval()
null
for earlier versions.public Double getCrcCheckChance()
compression
option.
For Cassandra versions prior to 3.0.0, this method always returns null
.public Map<String,String> getCompaction()
public Map<String,String> getCompression()
public Map<String,ByteBuffer> getExtensions()
public boolean isCDC()
Copyright © 2012–2018. All rights reserved.