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

getFieldSchemaList()

Addedv2.6.xModifiedv2.6.x

This getter returns the list of all field schemas in the collection schema.

public List<CreateCollectionReq.FieldSchema> getFieldSchemaList()

RETURNS:

List<CreateCollectionReq.FieldSchema>

EXCEPTIONS:

  • MilvusClientException

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

Example

CollectionSchema schema = CollectionSchema.builder().build();
List<CreateCollectionReq.FieldSchema> fields = schema.getFieldSchemaList();