Package io.milvus.param.bulkinsert
Class ListBulkInsertTasksParam.Builder
- java.lang.Object
-
- io.milvus.param.bulkinsert.ListBulkInsertTasksParam.Builder
-
- Enclosing class:
- ListBulkInsertTasksParam
public static final class ListBulkInsertTasksParam.Builder extends Object
Builder forListBulkInsertTasksParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBulkInsertTasksParambuild()Verifies parameters and creates a newListBulkInsertTasksParaminstance.ListBulkInsertTasksParam.BuilderwithCollectionName(@NonNull String collectionName)Sets the target collection name, list all tasks if the name is empty.ListBulkInsertTasksParam.BuilderwithDatabaseName(String databaseName)Sets the database name.ListBulkInsertTasksParam.BuilderwithLimit(@NonNull Integer limit)Specify limit count of returned tasks, list all tasks if the value is 0.
-
-
-
Method Detail
-
withDatabaseName
public ListBulkInsertTasksParam.Builder withDatabaseName(String databaseName)
Sets the database name. database name can be nil.- Parameters:
databaseName- database name- Returns:
Builder
-
withCollectionName
public ListBulkInsertTasksParam.Builder withCollectionName(@NonNull @NonNull String collectionName)
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
public ListBulkInsertTasksParam.Builder withLimit(@NonNull @NonNull Integer limit)
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
public ListBulkInsertTasksParam build() throws ParamException
Verifies parameters and creates a newListBulkInsertTasksParaminstance.- Returns:
ListBulkInsertTasksParam- Throws:
ParamException
-
-