メインコンテンツまでスキップ

getFields()

Addedv2.6.x

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<CreateCollectionReq.FieldSchema>

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();