All Products
Search
Document Center

Tablestore:RowInBatchGetRowResponse

Last Updated:Aug 22, 2024

RowInBatchGetRowResponse indicates a row of data in the response of the BatchGetRow operation.

Data structure

message RowInBatchGetRowResponse {
    required bool is_ok = 1 [default = true];
    optional Error error = 2;
    optional ConsumedCapacity consumed = 3;
    optional bytes row = 4; 
    optional bytes next_token = 5;
}

Parameter

Type

Required

Description

is_ok

bool

Yes

Indicates whether the operation on the row is successful. Valid values:

  • true: The row is read. In this case, the error parameter is invalid.

  • false: The row fails to be read. In this case, the row parameter is invalid.

error

Error

No

The error information in the response if the operation on the row fails.

consumed

ConsumedCapacity

No

The number of capacity units (CUs) that are consumed by the operation.

row

bytes

No

The data that is read from the row and encoded in the Plainbuffer format. For more information, see PlainBuffer.

If the specified row does not exist, no data is returned.

next_token

bytes

No

The position at which the next read operation starts in the wide column. This parameter is unavailable.

Related operations

BatchGetRow