getStructFields()
This getter returns all struct field schemas in the collection schema.
public List<CreateCollectionReq.StructFieldSchema> getStructFields()
RETURNS:
List
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();