Uses of Class
org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
Package
Description
MongoDB-specific JSON schema implementation classes.
-
Uses of UntypedJsonSchemaObject in org.springframework.data.mongodb.core.schema
Modifier and TypeClassDescriptionclass
AJsonSchemaObject
of a givenJsonSchemaObject.Type
.static class
JsonSchemaObject
implementation oftype : 'array'
schema elements.
Provides programmatic access to schema specifics like range, minItems, maxItems,... via a fluent API producing immutableschema objects
.static class
JsonSchemaObject
implementation oftype : 'boolean'
schema elements.
Provides programmatic access to schema specifics via a fluent API producing immutableschema objects
.static class
JsonSchemaObject
implementation oftype : 'number'
,bsonType : 'int'
,bsonType : 'long'
,bsonType : 'double'
andbsonType : 'decimal128'
schema elements.
Provides programmatic access to schema specifics like multipleOf, minimum, maximum,... via a fluent API producing immutableschema objects
.static class
JsonSchemaObject
implementation oftype : 'object'
schema elements.
Provides programmatic access to schema specifics like required, properties, patternProperties,... via a fluent API producing immutableschema objects
.static class
JsonSchemaObject
implementation oftype : 'string'
schema elements.
Provides programmatic access to schema specifics like minLength, maxLength, pattern,... via a fluent API producing immutableschema objects
.Modifier and TypeMethodDescriptionUntypedJsonSchemaObject.allOf
(Collection<JsonSchemaObject> allOf) The field value must match all specified schemas.UntypedJsonSchemaObject.anyOf
(Collection<JsonSchemaObject> anyOf) The field value must match at least one of the specified schemas.UntypedJsonSchemaObject.description
(String description) Set the description.UntypedJsonSchemaObject.generatedDescription()
Auto generate the description if not explicitly set.static UntypedJsonSchemaObject
UntypedJsonSchemaObject.newInstance()
Create a new instance ofUntypedJsonSchemaObject
.UntypedJsonSchemaObject.notMatch
(JsonSchemaObject notMatch) The field value must not match the specified schemas.UntypedJsonSchemaObject.oneOf
(Collection<JsonSchemaObject> oneOf) The field value must match exactly one of the specified schemas.UntypedJsonSchemaObject.possibleValues
(Collection<? extends Object> possibleValues) enumerates all possible values of the field.static UntypedJsonSchemaObject
JsonSchemaObject.untyped()
Create a newUntypedJsonSchemaObject
.