public static class BulkImportResponse.RowResult extends Object
| 构造器和说明 |
|---|
RowResult(ConsumedCapacity consumedCapacity,
int index)
internal use
|
RowResult(Error error,
int index)
internal use
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConsumedCapacity |
getConsumedCapacity()
If the row query succeeds, return the consumed capacity unit.
|
Error |
getError()
If the query execution of this row fails, it returns specific error information.
|
int |
getIndex()
Get the index position of this row in the multi-row query parameters of
BatchGetRowRequest. |
boolean |
isSucceed()
Determines whether the row query was executed successfully.
|
public RowResult(Error error, int index)
public RowResult(ConsumedCapacity consumedCapacity, int index)
public boolean isSucceed()
consumedCapacity is only valid when the operation is successful.
error is only valid when the operation is not successful.
public Error getError()
public ConsumedCapacity getConsumedCapacity()
public int getIndex()
BatchGetRowRequest.
If the row query fails, you can retry by obtaining the query parameters using the table name and index through BatchGetRowRequest.getPrimaryKey(String, int).
Copyright © 2025. All Rights Reserved.