Package io.milvus.response
Class GetBulkInsertStateWrapper
- java.lang.Object
-
- io.milvus.response.GetBulkInsertStateWrapper
-
public class GetBulkInsertStateWrapper extends java.lang.ObjectUtil class to wrap response ofGetImportStateResponseinterface.
-
-
Constructor Summary
Constructors Constructor Description GetBulkInsertStateWrapper(@NonNull io.milvus.grpc.GetImportStateResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Long>getAutoGeneratedIDs()Gets the long ID array for auto-id primary key, generated by bulk insert task.java.lang.StringgetCollectionName()Gets target collection name of the bulk insert task.longgetCreateTimestamp()Gets the integer timestamp when this task is created.java.lang.StringgetCreateTimeStr()Gets the timestamp in string format when this task is created.java.lang.StringgetFailedReason()Gets failed reason of the bulk insert task.java.lang.StringgetFiles()Gets target files of the bulk insert task.longgetImportedCount()Gets how many rows were imported by the bulk insert task.java.lang.StringgetPartitionName()Gets target partition name of the bulk insert task.intgetProgress()Gets working progress percent value of the bulk insert task.io.milvus.grpc.ImportStategetState()Gets state of the bulk insert task.longgetTaskID()Gets ID of the bulk insert task.java.lang.StringtoString()Construct aStringbyDescCollResponseWrapperinstance.
-
-
-
Method Detail
-
getTaskID
public long getTaskID()
Gets ID of the bulk insert task.- Returns:
- Long ID of the bulk insert task
-
getAutoGeneratedIDs
public java.util.List<java.lang.Long> getAutoGeneratedIDs()
Gets the long ID array for auto-id primary key, generated by bulk insert task.- Returns:
- List of Long, ID array returned by bulk insert task
-
getState
public io.milvus.grpc.ImportState getState()
Gets state of the bulk insert task.- Returns:
- ImportState state of the bulk insert task
-
getImportedCount
public long getImportedCount()
Gets how many rows were imported by the bulk insert task.- Returns:
- Long how many rows were imported by the bulk insert task
-
getCreateTimestamp
public long getCreateTimestamp()
Gets the integer timestamp when this task is created.- Returns:
- the integer timestamp when this task is created
-
getCreateTimeStr
public java.lang.String getCreateTimeStr()
Gets the timestamp in string format when this task is created.- Returns:
- the timestamp in string format when this task is created
-
getFailedReason
public java.lang.String getFailedReason()
Gets failed reason of the bulk insert task.- Returns:
- String failed reason of the bulk insert task
-
getFiles
public java.lang.String getFiles()
Gets target files of the bulk insert task.- Returns:
- String target files of the bulk insert task
-
getCollectionName
public java.lang.String getCollectionName()
Gets target collection name of the bulk insert task.- Returns:
- String target collection name
-
getPartitionName
public java.lang.String getPartitionName()
Gets target partition name of the bulk insert task.- Returns:
- String target partition name
-
getProgress
public int getProgress()
Gets working progress percent value of the bulk insert task.- Returns:
- String target collection name
-
toString
public java.lang.String toString()
Construct aStringbyDescCollResponseWrapperinstance.- Overrides:
toStringin classjava.lang.Object- Returns:
String
-
-