Interface ReadModifyWriteRuleOrBuilder (2.7.0)

public interface ReadModifyWriteRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppendValue()

public abstract ByteString getAppendValue()

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.

bytes append_value = 3;

Returns
TypeDescription
ByteString

The appendValue.

getColumnQualifier()

public abstract ByteString getColumnQualifier()

The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

bytes column_qualifier = 2;

Returns
TypeDescription
ByteString

The columnQualifier.

getFamilyName()

public abstract String getFamilyName()

The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public abstract ByteString getFamilyNameBytes()

The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

string family_name = 1;

Returns
TypeDescription
ByteString

The bytes for familyName.

getIncrementAmount()

public abstract long getIncrementAmount()

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.

int64 increment_amount = 4;

Returns
TypeDescription
long

The incrementAmount.

getRuleCase()

public abstract ReadModifyWriteRule.RuleCase getRuleCase()
Returns
TypeDescription
ReadModifyWriteRule.RuleCase

hasAppendValue()

public abstract boolean hasAppendValue()

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.

bytes append_value = 3;

Returns
TypeDescription
boolean

Whether the appendValue field is set.

hasIncrementAmount()

public abstract boolean hasIncrementAmount()

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.

int64 increment_amount = 4;

Returns
TypeDescription
boolean

Whether the incrementAmount field is set.