All Products
Search
Document Center

Tablestore:Condition

Last Updated:Aug 06, 2024

Specifies the condition that must be met before you can call the PutRow, UpdateRow, or DeleteRow operation to perform specific operations on a row. The condition can be a row existence condition (row_existence) or a condition based on column values (column_condition).

Data structure

message Condition {
    required RowExistenceExpectation row_existence = 1;
    optional bytes column_condition = 2;
}
			

Parameter

Type

Required

Description

row_existence

RowExistenceExpectation

Yes

The settings for row existence condition check for the row.

column_condition

bytes

No

The settings for the condition based on column values. This parameter indicates the binary data (in bytes) after the filter is serialized in the Protobuf format. For more information, see Filter.

References

PutRow

UpdateRow

DeleteRow

BatchWriteRow