Package io.milvus.param.index
Class GetIndexBuildProgressParam.Builder
java.lang.Object
io.milvus.param.index.GetIndexBuildProgressParam.Builder
- Enclosing class:
GetIndexBuildProgressParam
Builder for
GetIndexBuildProgressParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newGetIndexBuildProgressParaminstance.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
public GetIndexBuildProgressParam.Builder withCollectionName(@NonNull @NonNull String collectionName) 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 newGetIndexBuildProgressParaminstance.- Returns:
GetIndexBuildProgressParam- Throws:
ParamException
-