Package io.milvus.param.collection
Class DropCollectionParam.Builder
java.lang.Object
io.milvus.param.collection.DropCollectionParam.Builder
- Enclosing class:
DropCollectionParam
Builder for
DropCollectionParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newDropCollectionParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.withDatabaseName(String databaseName) Sets the collection name.
-
Method Details
-
withDatabaseName
Sets the collection name. Database name can empty or null.- Parameters:
databaseName- database name- Returns:
Builder
-
withCollectionName
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
build
Verifies parameters and creates a newDropCollectionParaminstance.- Returns:
DropCollectionParam- Throws:
ParamException
-