public static class TableMetadata.Options extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getBloomFilterFalsePositiveChance()
Returns the false positive chance for the Bloom filter of this table.
|
String |
getCaching()
Returns the caching option 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.
|
int |
getDefaultTimeToLive()
Returns the default TTL for this table.
|
int |
getGcGraceInSeconds()
Returns the tombstone garbage collection grace time in seconds for this table.
|
int |
getIndexInterval()
Returns the index interval option for this table.
|
double |
getLocalReadRepairChance()
Returns the cluster local read repair chance set for this table.
|
int |
getMemtableFlushPeriodInMs() |
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 |
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 String getCaching()
public boolean getPopulateIOCacheOnFlush()
public int getMemtableFlushPeriodInMs()
public int getDefaultTimeToLive()
Note: this option is not available in Cassandra 1.2 and will return 0 (no default TTL) when connected to 1.2 nodes.
public String getSpeculativeRetry()
Note: this option is not available in Cassandra 1.2 and will return "NONE" (no speculative retry) when connected to 1.2 nodes.
public int getIndexInterval()
Note: this option is not available in Cassandra 1.2 (more precisely, it is not configurable per-table) and will return 128 (the default index interval) when connected to 1.2 nodes.
public Map<String,String> getCompaction()
public Map<String,String> getCompression()
Copyright © 2012–2015. All rights reserved.