Package io.milvus.param.index
Class DropIndexParam.Builder
java.lang.Object
io.milvus.param.index.DropIndexParam.Builder
- Enclosing class:
DropIndexParam
Builder for
DropIndexParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newDropIndexParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.withDatabaseName(String databaseName) Sets the database name.withIndexName(@NonNull String indexName) The name of index which will be dropped.
-
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
-
withIndexName
The name of index which will be dropped. If no index name is specified, the default index name("_default_idx") is used.- Parameters:
indexName- index name- Returns:
Builder
-
build
Verifies parameters and creates a newDropIndexParaminstance.- Returns:
DropIndexParam- Throws:
ParamException
-