Uses of Interface
org.springframework.data.mongodb.core.schema.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
Modifier 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
.Modifier 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
Modifier 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
Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionstatic Validator
Validator.schema
(MongoJsonSchema schema) Creates a newValidator
checking documents against the structure defined inMongoJsonSchema
.