com.datastax.driver.core
Class TableMetadata.Options

java.lang.Object
  extended by com.datastax.driver.core.TableMetadata.Options
Enclosing class:
TableMetadata

public static class TableMetadata.Options
extends Object


Method Summary
 double getBloomFilterFalsePositiveChance()
          The false positive chance for the bloom filter of this table.
 String getCaching()
          The caching option for this table.
 String getComment()
          The commentary set for this table.
 Map<String,String> getCompaction()
          The compaction options for this table.
 Map<String,String> getCompression()
          The compression options for this table.
 int getGcGraceInSeconds()
          The tombstone garbage collection grace time in seconds for this table.
 double getLocalReadRepairChance()
          The (cluster) local read repair chance set for this table.
 double getReadRepairChance()
          The chance with which a read repair is triggered for this table.
 boolean getReplicateOnWrite()
          Whether replicateOnWrite is set for this table.
 boolean isCompactStorage()
          Whether the table uses the COMPACT STORAGE option.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isCompactStorage

public boolean isCompactStorage()
Whether the table uses the COMPACT STORAGE option.

Returns:
whether the table uses the COMPACT STORAGE option.

getComment

public String getComment()
The commentary set for this table.

Returns:
the commentary set for this table, or null if noe has been set.

getReadRepairChance

public double getReadRepairChance()
The chance with which a read repair is triggered for this table.

Returns:
the read repair change set for table (in [0.0, 1.0]).

getLocalReadRepairChance

public double getLocalReadRepairChance()
The (cluster) local read repair chance set for this table.

Returns:
the local read repair change set for table (in [0.0, 1.0]).

getReplicateOnWrite

public boolean getReplicateOnWrite()
Whether replicateOnWrite is set for this table. This is only meaningful for tables holding counters.

Returns:
whether replicateOnWrite is set for this table.

getGcGraceInSeconds

public int getGcGraceInSeconds()
The tombstone garbage collection grace time in seconds for this table.

Returns:
the tombstone garbage collection grace time in seconds for this table.

getBloomFilterFalsePositiveChance

public double getBloomFilterFalsePositiveChance()
The false positive chance for the bloom filter of this table.

Returns:
the bloom filter false positive chance for this table (in [0.0, 1.0]).

getCaching

public String getCaching()
The caching option for this table.

Returns:
the caching option for this table.

getCompaction

public Map<String,String> getCompaction()
The compaction options for this table.

Returns:
a map containing the compaction options for this table.

getCompression

public Map<String,String> getCompression()
The compression options for this table.

Returns:
a map containing the compression options for this table.


Copyright © 2013. All Rights Reserved.