Uses of Class
org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
Packages that use CollectionOptions.ValidationOptions
-
Uses of CollectionOptions.ValidationOptions in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return CollectionOptions.ValidationOptionsModifier and TypeMethodDescriptionCollectionOptions.ValidationOptions.none()
Create an emptyCollectionOptions.ValidationOptions
.CollectionOptions.ValidationOptions.validationAction
(com.mongodb.client.model.ValidationAction validationAction) Define the validation action to take.CollectionOptions.ValidationOptions.validationLevel
(com.mongodb.client.model.ValidationLevel validationLevel) Define the validation level to apply.Define theValidator
to be used for document validation.Methods in org.springframework.data.mongodb.core that return types with arguments of type CollectionOptions.ValidationOptionsModifier and TypeMethodDescriptionCollectionOptions.getValidationOptions()
Get theMongoJsonSchema
for the collection.Methods in org.springframework.data.mongodb.core with parameters of type CollectionOptions.ValidationOptionsModifier and TypeMethodDescriptionCollectionOptions.validation
(CollectionOptions.ValidationOptions validationOptions) Create newCollectionOptions
with the givenCollectionOptions.ValidationOptions
.