Class DescribeIndexParam.Builder

java.lang.Object
io.milvus.param.index.DescribeIndexParam.Builder
Enclosing class:
DescribeIndexParam

public static final class DescribeIndexParam.Builder extends Object
Builder for DescribeIndexParam class.
  • Method Details

    • withDatabaseName

      public DescribeIndexParam.Builder withDatabaseName(String databaseName)
      Sets the database name. database name can be nil.
      Parameters:
      databaseName - database name
      Returns:
      Builder
    • withCollectionName

      public DescribeIndexParam.Builder withCollectionName(@NonNull @NonNull String collectionName)
      Sets the collection name. Collection name cannot be empty or null.
      Parameters:
      collectionName - collection name
      Returns:
      Builder
    • withIndexName

      @Deprecated public DescribeIndexParam.Builder withIndexName(String indexName)
      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

      public DescribeIndexParam.Builder withFieldName(String fieldName)
      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

      public DescribeIndexParam build() throws ParamException
      Verifies parameters and creates a new DescribeIndexParam instance.
      Returns:
      DescribeIndexParam
      Throws:
      ParamException