milvus-logo
LFAI
< Docs
  • Java

describeAlias()

This operation displays the details of an alias.

public DescribeAliasResp describeAlias(DescribeAliasReq request)

Request Syntax

describeAlias(DescribeAliasReq.builder()
    .alias(String alias)
    .build()
)

BUILDER METHODS:

  • alias(String alias)

    The alias of a collection.

    Before this operation, ensure that the alias exists. Otherwise, exceptions will occur.

RETURN TYPE:

DescribeAliasResp

RETURNS:

A DescribeAliasResp object containing the alias details.

EXCEPTIONS:

  • MilvusClientExceptions

    This exception will be raised when any error occurs during this operation.

Example

DescribeAliasReq describeAliasReq = DescribeAliasReq.builder()
        .alias("test_alias")
        .build();
DescribeAliasResp describeAliasResp = client.describeAlias(describeAliasReq);

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?