Package io.milvus.param.index
Class GetIndexStateParam.Builder
java.lang.Object
io.milvus.param.index.GetIndexStateParam.Builder
- Enclosing class:
GetIndexStateParam
Builder for
GetIndexStateParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newGetIndexStateParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.withDatabaseName(String databaseName) Sets the database name.withIndexName(@NonNull String indexName) The name of target index.
-
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 target index. 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 newGetIndexStateParaminstance.- Returns:
GetIndexStateParam- Throws:
ParamException
-