Package io.milvus.response
Class GetBulkloadStateWrapper
- java.lang.Object
-
- io.milvus.response.GetBulkloadStateWrapper
-
public class GetBulkloadStateWrapper extends java.lang.Object
Util class to wrap response ofgetBulkloadState
interface.
-
-
Constructor Summary
Constructors Constructor Description GetBulkloadStateWrapper(@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 load task.java.lang.String
getCollectionName()
Gets target collection name of the bulk load task.java.lang.String
getFailedReason()
Gets failed reason of the bulk load task.java.lang.String
getFiles()
Gets target files of the bulk load task.long
getImportedCount()
Gets how many rows were imported by the bulk load task.java.lang.String
getPartitionName()
Gets target partition name of the bulk load task.io.milvus.grpc.ImportState
getState()
Gets state of the bulk load task.long
getTaskID()
Gets ID of the bulk load task.boolean
indexed()
A flag indicating whether import data are indexed.boolean
queryable()
A flag indicating whether import data are queryable (i.e.java.lang.String
toString()
Construct aString
byDescCollResponseWrapper
instance.
-
-
-
Method Detail
-
getTaskID
public long getTaskID()
Gets ID of the bulk load task.- Returns:
- Long ID of the bulk load task
-
getAutoGeneratedIDs
public java.util.List<java.lang.Long> getAutoGeneratedIDs()
Gets the long ID array for auto-id primary key, generated by bulk load task.- Returns:
- List<Long> ID array returned by bulk load task
-
getState
public io.milvus.grpc.ImportState getState()
Gets state of the bulk load task.- Returns:
- ImportState state of the bulk load task
-
getImportedCount
public long getImportedCount()
Gets how many rows were imported by the bulk load task.- Returns:
- Long how many rows were imported by the bulk load task
-
getFailedReason
public java.lang.String getFailedReason()
Gets failed reason of the bulk load task.- Returns:
- String failed reason of the bulk load task
-
getFiles
public java.lang.String getFiles()
Gets target files of the bulk load task.- Returns:
- String target files of the bulk load task
-
getCollectionName
public java.lang.String getCollectionName()
Gets target collection name of the bulk load task.- Returns:
- String target collection name
-
getPartitionName
public java.lang.String getPartitionName()
Gets target partition name of the bulk load task.- Returns:
- String target partition name
-
queryable
public boolean queryable()
A flag indicating whether import data are queryable (i.e. loaded in query nodes).- Returns:
- boolean whether import data are queryable
-
indexed
public boolean indexed()
A flag indicating whether import data are indexed.- Returns:
- boolean whether import data are queryable
-
toString
public java.lang.String toString()
Construct aString
byDescCollResponseWrapper
instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
String
-
-