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

getStructFields()

Addedv2.6.xModifiedv2.6.x

This getter returns all struct field schemas in the collection schema.

public List<CreateCollectionReq.StructFieldSchema> getStructFields()

RETURNS:

List<CreateCollectionReq.StructFieldSchema>

EXCEPTIONS:

  • MilvusClientException

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

Example

CollectionSchema schema = CollectionSchema.builder().build();
List<CreateCollectionReq.StructFieldSchema> fields = schema.getStructFields();