getFields()
此操作返回 Struct 数组中 Struct 元素的字段。
java
public List<CreateCollectionReq.FieldSchema> getFields()
请求语法
java
getFields()
返回类型:
List<CreateCollectionReq.FieldSchema>
返回值:
返回值为 Struct 数组中 Struct 元素的字段。
示例
java
// You can get an instance of StructFieldSchema by describing
// a collection containing an Array of Struct field.
structFieldSchema.getFields();