Package io.milvus.param.dml
Class DeleteParam.Builder
java.lang.Object
io.milvus.param.dml.DeleteParam.Builder
- Enclosing class:
DeleteParam
Builder for
DeleteParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newDeleteParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.withDatabaseName(String databaseName) Sets the database name.Sets the expression to filter out entities to be deleted.withPartitionName(@NonNull String partitionName) Sets the partition name (Optional).
-
Method Details
-
withDatabaseName
Sets the database name. database name can be nil.- Parameters:
databaseName- database name- Returns:
Builder
-
withCollectionName
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
withPartitionName
Sets the partition name (Optional).- Parameters:
partitionName- partition name- Returns:
Builder
-
withExpr
Sets the expression to filter out entities to be deleted.- Parameters:
expr- filtering expression- Returns:
Builder- See Also:
-
build
Verifies parameters and creates a newDeleteParaminstance.- Returns:
DeleteParam- Throws:
ParamException
-