public class BatchGetRowResponse extends Response implements Jsonizable
限定符和类型 | 类和说明 |
---|---|
static class |
BatchGetRowResponse.RowResult
BatchGetRow批量操作中单行查询的结果。
|
构造器和说明 |
---|
BatchGetRowResponse(Response meta)
internal use
|
限定符和类型 | 方法和说明 |
---|---|
void |
addResult(BatchGetRowResponse.RowResult result)
internal use
|
List<BatchGetRowResponse.RowResult> |
getBatchGetRowResult(String tableName)
获取某个表的所有行查询结果。
|
List<BatchGetRowResponse.RowResult> |
getFailedRows()
获取所有查询操作执行失败的行。
|
void |
getResult(List<BatchGetRowResponse.RowResult> succeedRows,
List<BatchGetRowResponse.RowResult> failedRows)
获取所有执行成功过的行以及所有执行失败的行。
|
List<BatchGetRowResponse.RowResult> |
getSucceedRows()
获取所有查询操作执行成功的行。
|
Map<String,List<BatchGetRowResponse.RowResult>> |
getTableToRowsResult()
返回所有表所有行的查询结果。
|
boolean |
isAllSucceed()
是否所有行查询操作都执行成功。
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
getRequestId, getTraceId, setRequestId, setTraceId
public BatchGetRowResponse(Response meta)
public void addResult(BatchGetRowResponse.RowResult result)
public List<BatchGetRowResponse.RowResult> getBatchGetRowResult(String tableName)
tableName
- 表的名称public 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
- 所有执行成功的行failedRows
- 所有执行失败的行public boolean isAllSucceed()
public String jsonize()
jsonize
在接口中 Jsonizable
public void jsonize(StringBuilder sb, String newline)
jsonize
在接口中 Jsonizable
Copyright © 2019. All Rights Reserved.