Class TableOptions
Inheritance
Inherited Members
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class TableOptions
Constructors
TableOptions()
Declaration
public TableOptions()
TableOptions(string, double, double, bool, int, double, string, SortedDictionary<string, string>, SortedDictionary<string, string>)
Declaration
public TableOptions(string comment, double readRepair, double localReadRepair, bool replicateOnWrite, int gcGrace, double bfFpChance, string caching, SortedDictionary<string, string> compactionOptions, SortedDictionary<string, string> compressionParams)
Parameters
| Type | Name | Description |
|---|---|---|
| string | comment | |
| double | readRepair | |
| double | localReadRepair | |
| bool | replicateOnWrite | |
| int | gcGrace | |
| double | bfFpChance | |
| string | caching | |
| SortedDictionary<string, string> | compactionOptions | |
| SortedDictionary<string, string> | compressionParams |
Properties
BloomFilterFpChance
The false positive chance for the bloom filter of this table.
Declaration
public double BloomFilterFpChance { get; }
Property Value
| Type | Description |
|---|---|
| double | the bloom filter false positive chance for this table (in [0.0, 1.0]). |
Caching
The caching option for this table.
Declaration
public string Caching { get; }
Property Value
| Type | Description |
|---|---|
| string | the caching option for this table. |
Comment
The commentary set for this table.
Declaration
public string Comment { get; }
Property Value
| Type | Description |
|---|---|
| string | the commentary set for this table, or |
CompactionOptions
The compaction options for this table.
Declaration
public SortedDictionary<string, string> CompactionOptions { get; }
Property Value
| Type | Description |
|---|---|
| SortedDictionary<string, string> | a dictionary containing the compaction options for this table. |
CompressionParams
The compression options for this table.
Declaration
public SortedDictionary<string, string> CompressionParams { get; }
Property Value
| Type | Description |
|---|---|
| SortedDictionary<string, string> | a dictionary containing the compression options for this table. |
GcGraceSeconds
The tombstone garbage collection grace time in seconds for this table.
Declaration
public int GcGraceSeconds { get; }
Property Value
| Type | Description |
|---|---|
| int | the tombstone garbage collection grace time in seconds for this table. |
IsCompactStorage
Whether the table uses the COMPACT STORAGE option.
Declaration
public bool IsCompactStorage { get; }
Property Value
| Type | Description |
|---|---|
| bool | whether the table uses the |
LocalReadRepairChance
The (cluster) local read repair chance set for this table.
Declaration
public double LocalReadRepairChance { get; }
Property Value
| Type | Description |
|---|---|
| double | the local read repair change set for table (in [0.0, 1.0]). |
NodeSync
Represents the nodesync options for this table.
For DSE versions prior to 6.0.0 and Apache Cassandra clusters, this method always returns null. If nodesync
was not explicitly configured for this table this method will also return null.
Declaration
public IDictionary<string, string> NodeSync { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
ReadRepairChance
The chance with which a read repair is triggered for this table.
Declaration
public double ReadRepairChance { get; }
Property Value
| Type | Description |
|---|---|
| double | the read repair change set for table (in [0.0, 1.0]). |
ReplicateOnWrite
Whether replicateOnWrite is set for this table. This is only meaningful for tables holding counters.
Declaration
public bool ReplicateOnWrite { get; }
Property Value
| Type | Description |
|---|---|
| bool | whether replicateOnWrite is set for this table. |
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |