Class TableOptions
Inheritance
Inherited Members
Namespace: Dse
Assembly: Dse.dll
Syntax
public class TableOptions
Constructors
TableOptions()
Declaration
public TableOptions()
TableOptions(String, Double, Double, Boolean, Int32, 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 |
---|---|---|
System.String | comment | |
System.Double | readRepair | |
System.Double | localReadRepair | |
System.Boolean | replicateOnWrite | |
System.Int32 | gcGrace | |
System.Double | bfFpChance | |
System.String | caching | |
System.Collections.Generic.SortedDictionary<System.String, System.String> | compactionOptions | |
System.Collections.Generic.SortedDictionary<System.String, System.String> | compressionParams |
Properties
BloomFilterFpChance
The false positive chance for the bloom filter of this table.
Declaration
public double BloomFilterFpChance { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String | the caching option for this table. |
Comment
The commentary set for this table.
Declaration
public string Comment { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Collections.Generic.SortedDictionary<System.String, System.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 |
---|---|
System.Collections.Generic.SortedDictionary<System.String, System.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 |
---|---|
System.Int32 | 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 |
---|---|
System.Boolean | 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 |
---|---|
System.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, 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 |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
ReadRepairChance
The chance with which a read repair is triggered for this table.
Declaration
public double ReadRepairChance { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean | whether replicateOnWrite is set for this table. |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |