public sealed class ReadModifyWriteRule : IMessage<ReadModifyWriteRule>, IEquatable<ReadModifyWriteRule>, IDeepCloneable<ReadModifyWriteRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class ReadModifyWriteRule.
Specifies an atomic read/modify/write operation on the latest value of the specified column.
Implements
IMessageReadModifyWriteRule, IEquatableReadModifyWriteRule, IDeepCloneableReadModifyWriteRule, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
ReadModifyWriteRule()
public ReadModifyWriteRule()
ReadModifyWriteRule(ReadModifyWriteRule)
public ReadModifyWriteRule(ReadModifyWriteRule other)
Parameter | |
---|---|
Name | Description |
other |
ReadModifyWriteRule |
Properties
AppendValue
public ByteString AppendValue { get; set; }
Rule specifying that append_value
be appended to the existing value.
If the targeted cell is unset, it will be treated as containing the
empty string.
Property Value | |
---|---|
Type | Description |
ByteString |
ColumnQualifier
public ByteString ColumnQualifier { get; set; }
The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.
Property Value | |
---|---|
Type | Description |
ByteString |
FamilyName
public string FamilyName { get; set; }
The name of the family to which the read/modify/write should be applied.
Must match [-_.a-zA-Z0-9]+
Property Value | |
---|---|
Type | Description |
string |
HasAppendValue
public bool HasAppendValue { get; }
Gets whether the "append_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasIncrementAmount
public bool HasIncrementAmount { get; }
Gets whether the "increment_amount" field is set
Property Value | |
---|---|
Type | Description |
bool |
IncrementAmount
public long IncrementAmount { get; set; }
Rule specifying that increment_amount
be added to the existing value.
If the targeted cell is unset, it will be treated as containing a zero.
Otherwise, the targeted cell must contain an 8-byte value (interpreted
as a 64-bit big-endian signed integer), or the entire request will fail.
Property Value | |
---|---|
Type | Description |
long |
RuleCase
public ReadModifyWriteRule.RuleOneofCase RuleCase { get; }
Property Value | |
---|---|
Type | Description |
ReadModifyWriteRuleRuleOneofCase |