CassandraSourceReadConsistencyLevel Class

Definition

Consistency level when connecting to the Cassandra database. A property of CassandraSource. Reference: http://docs.datastax.com/en/cassandra/2.0/cassandra/dml/dml_config_consistency_c.html.

public static class CassandraSourceReadConsistencyLevel
Inheritance
CassandraSourceReadConsistencyLevel

Fields

All

Returns the record after all replicas have responded. The read operation will fail if a replica does not respond.

EachQuorum

Returns the record once a quorum of replicas in each data center of the cluster has responded.

LocalOne

Returns a response from the closest replica in the local data center.

LocalQuorum

Returns the record after a quorum of replicas in the current data center as the coordinator has reported. Avoids latency of inter-data center communication.

LocalSerial

Same as SERIAL, but confined to the data center. Similar to LOCAL_QUORUM.

One

Returns a response from the closest replica, as determined by the snitch. By default, a read repair runs in the background to make the other replicas consistent.

Quorum

Returns the record after a quorum of replicas has responded from any data center.

Serial

Allows reading the current (and possibly uncommitted) state of data without proposing a new addition or update. If a SERIAL read finds an uncommitted transaction in progress, it will commit the transaction as part of the read. Similar to QUORUM.

Three

Returns the most recent data from three of the closest replicas.

Two

Returns the most recent data from two of the closest replicas.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)