Package | Description |
---|---|
org.springframework.data.mongodb.core.schema |
MongoDB-specific JSON schema implementation classes.
|
Modifier and Type | Class and Description |
---|---|
class |
TypedJsonSchemaObject
A
JsonSchemaObject of a given JsonSchemaObject.Type . |
static class |
TypedJsonSchemaObject.ArrayJsonSchemaObject
JsonSchemaObject implementation of type : 'array' schema elements. |
static class |
TypedJsonSchemaObject.BooleanJsonSchemaObject
JsonSchemaObject implementation of type : 'boolean' schema elements. |
static class |
TypedJsonSchemaObject.NumericJsonSchemaObject
JsonSchemaObject implementation of type : 'number' , bsonType : 'int' ,
bsonType : 'long' , bsonType : 'double' and bsonType : 'decimal128' schema elements. |
static class |
TypedJsonSchemaObject.ObjectJsonSchemaObject
JsonSchemaObject implementation of type : 'object' schema elements. |
static class |
TypedJsonSchemaObject.StringJsonSchemaObject
JsonSchemaObject implementation of type : 'string' schema elements. |
Modifier and Type | Method and Description |
---|---|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.allOf(Collection<JsonSchemaObject> allOf)
The field value must match all specified schemas.
|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.anyOf(Collection<JsonSchemaObject> anyOf)
The field value must match at least one of the specified schemas.
|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.description(String description)
Set the description.
|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.generatedDescription()
Auto generate the description if not explicitly set.
|
static UntypedJsonSchemaObject |
UntypedJsonSchemaObject.newInstance()
Create a new instance of
UntypedJsonSchemaObject . |
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.notMatch(JsonSchemaObject notMatch)
The field value must not match the specified schemas.
|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.oneOf(Collection<JsonSchemaObject> oneOf)
The field value must match exactly one of the specified schemas.
|
UntypedJsonSchemaObject |
UntypedJsonSchemaObject.possibleValues(Collection<? extends Object> possibleValues)
enumerates all possible values of the field.
|
static UntypedJsonSchemaObject |
JsonSchemaObject.untyped()
Create a new
UntypedJsonSchemaObject . |
Modifier and Type | Method and Description |
---|---|
IdentifiableJsonSchemaProperty<UntypedJsonSchemaObject> |
JsonSchemaProperty.JsonSchemaPropertyBuilder.withoutType() |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.