Package io.milvus.param.index
Class DescribeIndexParam.Builder
java.lang.Object
io.milvus.param.index.DescribeIndexParam.Builder
- Enclosing class:
DescribeIndexParam
Builder for
DescribeIndexParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newDescribeIndexParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.withDatabaseName(String databaseName) Sets the database name.withFieldName(String fieldName) Sets the target field name.withIndexName(String indexName) Deprecated.
-
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
Deprecated.Sets the target index name. Index name can be empty or null. If no index name is specified, then return all this collection indexes.- Parameters:
indexName- field name- Returns:
Builder
-
withFieldName
Sets the target field name. Field name can be empty or null. If no field name is specified, then return all this collection indexes.- Parameters:
fieldName- field name- Returns:
Builder
-
build
Verifies parameters and creates a newDescribeIndexParaminstance.- Returns:
DescribeIndexParam- Throws:
ParamException
-