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 theMongoJsonSchema
for the giventype
.default MongoJsonSchema
MongoJsonSchemaCreator.mergedSchemaFor
(Class<?>... types) Create a mergedMongoJsonSchema
out 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 TypeMethodDescriptionCollectionOptions.schema
(MongoJsonSchema schema) Create newCollectionOptions
with already given settings andvalidationOptions
set 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 Criteria
Criteria.matchingDocumentStructure
(MongoJsonSchema schema) Static factory method to create aCriteria
matching documents against a given structure defined by theMongoJsonSchema
using ($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 MongoJsonSchema
MongoJsonSchema.merge
(MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.static MongoJsonSchema
MongoJsonSchema.merge
(MongoJsonSchema.ConflictResolutionFunction mergeFunction, MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.default MongoJsonSchema
MongoJsonSchema.mergeWith
(Collection<MongoJsonSchema> sources) Create a newMongoJsonSchema
merging properties from the given sources.default MongoJsonSchema
MongoJsonSchema.mergeWith
(Collection<MongoJsonSchema> sources, MongoJsonSchema.ConflictResolutionFunction conflictResolutionFunction) Create a newMongoJsonSchema
merging properties from the given sources.default MongoJsonSchema
MongoJsonSchema.mergeWith
(MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.static MongoJsonSchema
MongoJsonSchema.of
(org.bson.Document document) Create a newMongoJsonSchema
for a given rootDocument
containing the schema definition.static MongoJsonSchema
MongoJsonSchema.of
(JsonSchemaObject root) Create a newMongoJsonSchema
for a given root object.Methods in org.springframework.data.mongodb.core.schema with parameters of type MongoJsonSchemaModifier and TypeMethodDescriptionstatic MongoJsonSchema
MongoJsonSchema.merge
(MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.static MongoJsonSchema
MongoJsonSchema.merge
(MongoJsonSchema.ConflictResolutionFunction mergeFunction, MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.default MongoJsonSchema
MongoJsonSchema.mergeWith
(MongoJsonSchema... sources) Create a newMongoJsonSchema
merging properties from the given sources.Method parameters in org.springframework.data.mongodb.core.schema with type arguments of type MongoJsonSchemaModifier and TypeMethodDescriptiondefault MongoJsonSchema
MongoJsonSchema.mergeWith
(Collection<MongoJsonSchema> sources) Create a newMongoJsonSchema
merging properties from the given sources.default MongoJsonSchema
MongoJsonSchema.mergeWith
(Collection<MongoJsonSchema> sources, MongoJsonSchema.ConflictResolutionFunction conflictResolutionFunction) Create a newMongoJsonSchema
merging 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 Validator
Validator.schema
(MongoJsonSchema schema) Creates a newValidator
checking documents against the structure defined inMongoJsonSchema
.