跳到主要内容
版本:v2.6.x

isEnableDynamicField()

This getter returns whether the dynamic field is enabled for the collection schema.

Java
public boolean isEnableDynamicField()

RETURNS:

boolean

EXCEPTIONS:

  • MilvusClientException

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

Example

Java
CollectionSchema schema = CollectionSchema.builder()
.enableDynamicField(true)
.build();
boolean enabled = schema.isEnableDynamicField(); // true