Package io.milvus.param.bulkinsert
Class ListBulkInsertTasksParam.Builder
java.lang.Object
io.milvus.param.bulkinsert.ListBulkInsertTasksParam.Builder
- Enclosing class:
ListBulkInsertTasksParam
Builder for
ListBulkInsertTasksParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newListBulkInsertTasksParaminstance.withCollectionName(@NonNull String collectionName) Sets the target collection name, list all tasks if the name is empty.withDatabaseName(String databaseName) Sets the database name.Specify limit count of returned tasks, list all tasks if the value is 0.
-
Method Details
-
withDatabaseName
Sets the database name. database name can be nil.- Parameters:
databaseName- database name- Returns:
Builder
-
withCollectionName
Sets the target collection name, list all tasks if the name is empty. Default value is an empty string.- Parameters:
collectionName- collection name- Returns:
Builder
-
withLimit
Specify limit count of returned tasks, list all tasks if the value is 0. Default value is 0- Parameters:
limit- limit number- Returns:
Builder
-
build
Verifies parameters and creates a newListBulkInsertTasksParaminstance.- Returns:
ListBulkInsertTasksParam- Throws:
ParamException
-