在 BatchGetRow 操作的返回訊息中,表示一行資料。
資料結構
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;
}
is_ok:
-
類型:bool
-
描述:該行操作是否成功。若為 true,則該行讀取成功,error 無效;若為 false,則該行讀取失敗,row 無效。
error:
-
類型:Error
-
描述:該行操作的錯誤資訊。
consumed:
-
描述:該行操作消耗的服務能力單元。
row:
-
類型:bytes
-
讀取到的資料,由Plainbuffer編碼,詳見Plainbuffer編碼。
-
如果該行不存在,則資料為空白。
next_token:
-
類型:bytes
-
寬行讀取時,下一次讀取的起始位置,暫不可用。