public class MutationResultWrapper
extends java.lang.Object
insert/delete
interface.Constructor | Description |
---|---|
MutationResultWrapper(@NonNull io.milvus.grpc.MutationResult result) |
Modifier and Type | Method | Description |
---|---|---|
long |
getDeleteCount() |
Gets the row count of the deleted entities.
|
long |
getInsertCount() |
Gets the row count of the inserted entities.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.ParamException
public 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.ParamException
public long getDeleteCount()
int
row count of the deleted entitiespublic long getOperationTs()
int
row count of the deleted entities