Milvus
Zilliz
< Docs
  • Java

getFields()

This operation returns the fields of the Struct elements in an Array of Structs.

public List<CreateCollectionReq.FieldSchema> getFields()

Request Syntax

getFields()

RETURN TYPE:

List

RETURNS:

The return value will be the fields of the Struct elements in an Array of Structs.

Examples

// You can get an instance of StructFieldSchema by describing
// a collection containing an Array of Struct field.

structFieldSchema.getFields();

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?