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 java.lang.ObjectBuilder forListBulkInsertTasksParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBulkInsertTasksParambuild()Verifies parameters and creates a newListBulkInsertTasksParaminstance.ListBulkInsertTasksParam.BuilderwithCollectionName(@NonNull java.lang.String collectionName)Sets the target collection name, list all tasks if the name is empty.ListBulkInsertTasksParam.BuilderwithLimit(@NonNull java.lang.Integer limit)Specify limit count of returned tasks, list all tasks if the value is 0.
-
-
-
Method Detail
-
withCollectionName
public ListBulkInsertTasksParam.Builder withCollectionName(@NonNull @NonNull java.lang.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 java.lang.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
-
-