public static class BatchWriteRowResponse.RowResult extends Object
| 构造器和说明 |
|---|
RowResult(String tableName,
Row row,
ConsumedCapacity consumedCapacity,
int index)
internal use
|
RowResult(String tableName,
Row row,
Error error,
int index)
internal use
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConsumedCapacity |
getConsumedCapacity()
If the query of this row succeeds, the consumed capacity unit is returned.
|
Error |
getError()
If the query execution of this row fails, the specific error message is returned.
|
int |
getIndex()
Get the index position of this row in the multi-row query parameters of
BatchGetRowRequest. |
Row |
getRow()
Get the returned row data
|
String |
getTableName()
Get the name of the table where this row is located.
|
boolean |
isSucceed()
Determines whether the row query was executed successfully.
|
public RowResult(String tableName, Row row, ConsumedCapacity consumedCapacity, int index)
public boolean isSucceed()
consumedCapacity is only valid when the execution is successful.
error is only valid when the execution is not successful.
public String getTableName()
If the query for this row fails, you can retrieve the query parameters through BatchGetRowRequest.getPrimaryKey(String, int) using the table name and index to retry.
public Error getError()
public ConsumedCapacity getConsumedCapacity()
public int getIndex()
BatchGetRowRequest.
If the query for this row fails, the query parameters can be retrieved through BatchGetRowRequest.getPrimaryKey(String, int) using the table name and index for a retry.
public Row getRow()
Copyright © 2025. All Rights Reserved.