Package io.milvus.response
Class GetBulkInsertStateWrapper
java.lang.Object
io.milvus.response.GetBulkInsertStateWrapper
Util class to wrap response of
GetImportStateResponse interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the long ID array for auto-id primary key, generated by bulk insert task.Gets target collection name of the bulk insert task.longGets the integer timestamp when this task is created.Gets the timestamp in string format when this task is created.Gets failed reason of the bulk insert task.getFiles()Gets target files of the bulk insert task.longGets how many rows were imported by the bulk insert task.Gets target partition name of the bulk insert task.intGets working progress percent value of the bulk insert task.getState()Gets state of the bulk insert task.longGets ID of the bulk insert task.toString()Construct aStringbyDescCollResponseWrapperinstance.
-
Constructor Details
-
GetBulkInsertStateWrapper
-
-
Method Details
-
getTaskID
public long getTaskID()Gets ID of the bulk insert task.- Returns:
- Long ID of the bulk insert task
-
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
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
Gets the timestamp in string format when this task is created.- Returns:
- the timestamp in string format when this task is created
-
getFailedReason
Gets failed reason of the bulk insert task.- Returns:
- String failed reason of the bulk insert task
-
getFiles
Gets target files of the bulk insert task.- Returns:
- String target files of the bulk insert task
-
getCollectionName
Gets target collection name of the bulk insert task.- Returns:
- String target collection name
-
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
Construct aStringbyDescCollResponseWrapperinstance.
-