Uses of Interface
org.springframework.data.mongodb.core.schema.MongoJsonSchema
Packages that use MongoJsonSchema
Package
Description
MongoDB core support.
MongoDB specific query and update support.
MongoDB-specific JSON schema implementation classes.
MongoDB schema validation specifics.
-
Uses of MongoJsonSchema in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return MongoJsonSchemaModifier and TypeMethodDescriptionMongoJsonSchemaCreator.createSchemaFor(Class<?> type) Create theMongoJsonSchemafor the giventype.default MongoJsonSchemaMongoJsonSchemaCreator.mergedSchemaFor(Class<?>... types) Create a mergedMongoJsonSchemaout of the individual schemas of the given types by merging their properties into one largeschema.Methods in org.springframework.data.mongodb.core with parameters of type MongoJsonSchemaModifier and TypeMethodDescriptionstatic CollectionOptionsCollectionOptions.encryptedCollection(MongoJsonSchema schema) Create newCollectionOptionsreading encryption options from the givenMongoJsonSchema.CollectionOptions.EncryptedFieldsOptions.fromSchema(MongoJsonSchema schema) CollectionOptions.schema(MongoJsonSchema schema) Create newCollectionOptionswith already given settings andvalidationOptionsset to givenMongoJsonSchema. -
Uses of MongoJsonSchema in org.springframework.data.mongodb.core.query
Methods in org.springframework.data.mongodb.core.query with parameters of type MongoJsonSchemaModifier and TypeMethodDescriptionCriteria.andDocumentStructureMatches(MongoJsonSchema schema) Creates a criterion ($jsonSchema) matching documents against a given structure defined by theMongoJsonSchema.static CriteriaCriteria.matchingDocumentStructure(MongoJsonSchema schema) Static factory method to create aCriteriamatching documents against a given structure defined by theMongoJsonSchemausing ($jsonSchema) operator. -
Uses of MongoJsonSchema in org.springframework.data.mongodb.core.schema
Methods in org.springframework.data.mongodb.core.schema that return MongoJsonSchemaModifier and TypeMethodDescriptionMongoJsonSchema.MongoJsonSchemaBuilder.build()Obtain theMongoJsonSchema.static MongoJsonSchemaMongoJsonSchema.merge(MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.static MongoJsonSchemaMongoJsonSchema.merge(MongoJsonSchema.ConflictResolutionFunction mergeFunction, MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.default MongoJsonSchemaMongoJsonSchema.mergeWith(Collection<MongoJsonSchema> sources) Create a newMongoJsonSchemamerging properties from the given sources.default MongoJsonSchemaMongoJsonSchema.mergeWith(Collection<MongoJsonSchema> sources, MongoJsonSchema.ConflictResolutionFunction conflictResolutionFunction) Create a newMongoJsonSchemamerging properties from the given sources.default MongoJsonSchemaMongoJsonSchema.mergeWith(MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.static MongoJsonSchemaMongoJsonSchema.of(org.bson.Document document) Create a newMongoJsonSchemafor a given rootDocumentcontaining the schema definition.static MongoJsonSchemaMongoJsonSchema.of(JsonSchemaObject root) Create a newMongoJsonSchemafor a given root object.Methods in org.springframework.data.mongodb.core.schema with parameters of type MongoJsonSchemaModifier and TypeMethodDescriptionstatic MongoJsonSchemaMongoJsonSchema.merge(MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.static MongoJsonSchemaMongoJsonSchema.merge(MongoJsonSchema.ConflictResolutionFunction mergeFunction, MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.default MongoJsonSchemaMongoJsonSchema.mergeWith(MongoJsonSchema... sources) Create a newMongoJsonSchemamerging properties from the given sources.Method parameters in org.springframework.data.mongodb.core.schema with type arguments of type MongoJsonSchemaModifier and TypeMethodDescriptiondefault MongoJsonSchemaMongoJsonSchema.mergeWith(Collection<MongoJsonSchema> sources) Create a newMongoJsonSchemamerging properties from the given sources.default MongoJsonSchemaMongoJsonSchema.mergeWith(Collection<MongoJsonSchema> sources, MongoJsonSchema.ConflictResolutionFunction conflictResolutionFunction) Create a newMongoJsonSchemamerging properties from the given sources. -
Uses of MongoJsonSchema in org.springframework.data.mongodb.core.validation
Methods in org.springframework.data.mongodb.core.validation with parameters of type MongoJsonSchemaModifier and TypeMethodDescriptionstatic ValidatorValidator.schema(MongoJsonSchema schema) Creates a newValidatorchecking documents against the structure defined inMongoJsonSchema.