public static class BulkImportResponse.RowResult extends Object
构造器和说明 |
---|
RowResult(ConsumedCapacity consumedCapacity,
int index)
internal use
|
RowResult(Error error,
int index)
internal use
|
限定符和类型 | 方法和说明 |
---|---|
ConsumedCapacity |
getConsumedCapacity()
若该行查询成功,则返回消耗的能力单元。
|
Error |
getError()
若该行查询执行失败,则返回具体的错误信息。
|
int |
getIndex()
获取该行在
BatchGetRowRequest 的多行查询参数的索引位置。 |
boolean |
isSucceed()
判断该行查询是否执行成功。
|
public RowResult(Error error, int index)
public RowResult(ConsumedCapacity consumedCapacity, int index)
public boolean isSucceed()
只有在成功的时候,consumedCapacity
才有效。
只有在执行不成功的时候,error
才有效。
public Error getError()
public ConsumedCapacity getConsumedCapacity()
public int getIndex()
BatchGetRowRequest
的多行查询参数的索引位置。
若该行查询失败,可以根据表名和索引通过BatchGetRowRequest.getPrimaryKey(String, int)
中获取查询参数进行重试。
Copyright © 2019. All Rights Reserved.