public class MutationResultWrapper
extends java.lang.Object
insert/delete interface.| Constructor and Description |
|---|
MutationResultWrapper(@NonNull io.milvus.grpc.MutationResult result) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDeleteCount()
Gets the row count of the deleted entities.
|
java.util.List<?> |
getDeleteIDs()
Gets the ID array from returned by delete interface.
|
long |
getInsertCount()
Gets the row count of the inserted entities.
|
java.util.List<?> |
getInsertIDs()
Gets the ID array from returned by insert interface.
|
java.util.List<java.lang.Long> |
getLongIDs()
Gets the long ID array returned by insert interface.
|
long |
getOperationTs()
Get timestamp of the operation marked by server.
|
java.util.List<java.lang.String> |
getStringIDs()
Gets the string ID array returned by insert interface.
|
public MutationResultWrapper(@NonNull
@NonNull io.milvus.grpc.MutationResult result)
public long getInsertCount()
int row count of the inserted entitiespublic java.util.List<java.lang.Long> getLongIDs()
throws ParamException
ParamException if the primary key type is not int64 type.ParamExceptionpublic java.util.List<java.lang.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 java.util.List<?> getInsertIDs()
public java.util.List<?> getDeleteIDs()
public long getDeleteCount()
int row count of the deleted entitiespublic long getOperationTs()
int row count of the deleted entities