public class MutationResultWrapper extends Object
insert/delete interface.| 构造器和说明 |
|---|
MutationResultWrapper(@NonNull MutationResult result) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getDeleteCount()
Gets the row count of the deleted entities.
|
long |
getInsertCount()
Gets the row count of the inserted entities.
|
List<Long> |
getLongIDs()
Gets the long ID array returned by insert interface.
|
long |
getOperationTs()
Get timestamp of the operation marked by server.
|
List<String> |
getStringIDs()
Gets the string ID array returned by insert interface.
|
public MutationResultWrapper(@NonNull
@NonNull MutationResult result)
public long getInsertCount()
int row count of the inserted entitiespublic List<Long> getLongIDs() throws ParamException
ParamException if the primary key type is not int64 type.ParamExceptionpublic List<String> getStringIDs() throws ParamException
ParamException if the primary key type is not string type.
Note that current release of Milvus doesn't support string type field, thus this method is reserved.ParamExceptionpublic long getDeleteCount()
int row count of the deleted entitiespublic long getOperationTs()
int row count of the deleted entitiesCopyright © 2023. All rights reserved.