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()
          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 getGcGraceInSeconds()
          Returns the tombstone garbage collection grace time in seconds for this table.
 double getLocalReadRepairChance()
          Returns the cluster local read repair chance set 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.
 boolean isCompactStorage()
          Returns 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()
Returns whether the table uses the COMPACT STORAGE option.

Returns:
whether the table uses the COMPACT STORAGE option.

getComment

public String getComment()
Returns the commentary set for this table.

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

getReadRepairChance

public double getReadRepairChance()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns the caching option for this table.

Returns:
the caching option for this table.

getPopulateIOCacheOnFlush

public boolean getPopulateIOCacheOnFlush()
Whether the populate I/O cache on flush is set on this table.

Returns:
whether the populate I/O cache on flush is set on this table.

getCompaction

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

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

getCompression

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

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


Copyright © 2013. All Rights Reserved.