public class BatchGetRowResponse extends Response implements Jsonizable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BatchGetRowResponse.RowResult
The result of a single row query in the BatchGetRow batch operation.
|
| 构造器和说明 |
|---|
BatchGetRowResponse(Response meta)
internal use
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addResult(BatchGetRowResponse.RowResult result)
internal use
|
List<BatchGetRowResponse.RowResult> |
getBatchGetRowResult(String tableName)
Get the query results of all rows in a table.
|
List<BatchGetRowResponse.RowResult> |
getFailedRows()
Get all rows that failed to execute the query operation.
|
void |
getResult(List<BatchGetRowResponse.RowResult> succeedRows,
List<BatchGetRowResponse.RowResult> failedRows)
Get all rows that have been executed successfully and all rows that have failed execution.
|
List<BatchGetRowResponse.RowResult> |
getSucceedRows()
Get all rows that the query operation executed successfully.
|
Map<String,List<BatchGetRowResponse.RowResult>> |
getTableToRowsResult()
Returns the query results of all rows in all tables.
|
boolean |
isAllSucceed()
Whether all row query operations have been executed successfully.
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
getRequestId, getTraceId, setRequestId, setTraceIdpublic BatchGetRowResponse(Response meta)
public void addResult(BatchGetRowResponse.RowResult result)
public List<BatchGetRowResponse.RowResult> getBatchGetRowResult(String tableName)
tableName - The name of the tablepublic Map<String,List<BatchGetRowResponse.RowResult>> getTableToRowsResult()
public List<BatchGetRowResponse.RowResult> getFailedRows()
public List<BatchGetRowResponse.RowResult> getSucceedRows()
public void getResult(List<BatchGetRowResponse.RowResult> succeedRows, List<BatchGetRowResponse.RowResult> failedRows)
succeedRows - All rows executed successfullyfailedRows - All rows that failed executionpublic boolean isAllSucceed()
public String jsonize()
jsonize 在接口中 Jsonizablepublic void jsonize(StringBuilder sb, String newline)
jsonize 在接口中 JsonizableCopyright © 2025. All Rights Reserved.