SingleClusterRouting class
Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.
Constructors
-
SingleClusterRouting({Input<
bool> ? allowTransactionalWrites, Input<String> ? clusterId}) -
Creates a new SingleClusterRouting.
allowTransactionalWritesWhether or notCheckAndMutateRowandReadModifyWriteRowrequests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.clusterIdThe cluster to which read/write requests should be routed.const -
SingleClusterRouting.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowTransactionalWrites
→ Input<
bool> ? -
Whether or not
CheckAndMutateRowandReadModifyWriteRowrequests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.final -
clusterId
→ Input<
String> ? -
The cluster to which read/write requests should be routed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited