Uses of Interface
org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
Package
Description
Support for the MongoDB aggregation framework.
MongoDB specific query and update support.
MongoDB-specific JSON schema implementation classes.
-
Uses of JsonSchemaObject.Type in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionConvertOperators.ConvertOperatorFactory.convertTo
(JsonSchemaObject.Type type) Creates newaggregation expression
that takes the associated value and converts it into the type specified by the givenJsonSchemaObject.Type
.ConvertOperators.Convert.to
(JsonSchemaObject.Type type) Specify the conversion target type. -
Uses of JsonSchemaObject.Type in org.springframework.data.mongodb.core.query
Modifier and TypeMethodDescriptionCriteria.type
(JsonSchemaObject.Type... types) Creates a criterion using the $type operator.Modifier and TypeMethodDescriptionCriteria.type
(Collection<JsonSchemaObject.Type> types) Creates a criterion using the $type operator. -
Uses of JsonSchemaObject.Type in org.springframework.data.mongodb.core.schema
Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeFieldDescriptionstatic final JsonSchemaObject.Type
JsonSchemaObject.Type.ARRAY
static final JsonSchemaObject.Type
JsonSchemaObject.Type.BINARY_DATA
static final JsonSchemaObject.Type
JsonSchemaObject.Type.BOOLEAN
static final JsonSchemaObject.Type
JsonSchemaObject.Type.DATE
static final JsonSchemaObject.Type
JsonSchemaObject.Type.DECIMAL_128
static final JsonSchemaObject.Type
JsonSchemaObject.Type.DOUBLE
static final JsonSchemaObject.Type
JsonSchemaObject.Type.INT_32
static final JsonSchemaObject.Type
JsonSchemaObject.Type.INT_64
static final JsonSchemaObject.Type
JsonSchemaObject.Type.JAVA_SCRIPT
static final JsonSchemaObject.Type
JsonSchemaObject.Type.NULL
static final JsonSchemaObject.Type
JsonSchemaObject.Type.NUMBER
static final JsonSchemaObject.Type
JsonSchemaObject.Type.OBJECT
static final JsonSchemaObject.Type
JsonSchemaObject.Type.OBJECT_ID
static final JsonSchemaObject.Type
JsonSchemaObject.Type.REGULAR_EXPRESSION
static final JsonSchemaObject.Type
JsonSchemaObject.Type.STRING
static final JsonSchemaObject.Type
JsonSchemaObject.Type.TIMESTAMP
Modifier and TypeFieldDescriptionstatic final Set<JsonSchemaObject.Type>
JsonSchemaObject.Type.BSON_TYPES
static final Set<JsonSchemaObject.Type>
JsonSchemaObject.Type.JSON_TYPES
protected final Set<JsonSchemaObject.Type>
TypedJsonSchemaObject.types
Modifier and TypeMethodDescriptionstatic JsonSchemaObject.Type
JsonSchemaObject.Type.arrayType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.bigDecimalType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.binaryType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.booleanType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.bsonTypeOf
(String name) static JsonSchemaObject.Type
JsonSchemaObject.Type.dateType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.doubleType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.intType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.javascriptType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.jsonTypeOf
(String name) static JsonSchemaObject.Type
JsonSchemaObject.Type.longType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.nullType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.numberType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.objectIdType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.objectType()
static JsonSchemaObject.Type
Create aJsonSchemaObject.Type
with its defaultrepresentation
via the name.static JsonSchemaObject.Type
JsonSchemaObject.Type.regexType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.stringType()
static JsonSchemaObject.Type
JsonSchemaObject.Type.timestampType()
default JsonSchemaObject.Type
JsonSchemaObject.Type.toBsonType()
Get the bsonType representation of the given type.Modifier and TypeMethodDescriptionstatic Set<JsonSchemaObject.Type>
JsonSchemaObject.Type.bsonTypes()
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.getTypes()
IdentifiableJsonSchemaProperty.getTypes()
IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty.getTypes()
JsonSchemaObject.getTypes()
Get the set of types defined for this schema element.
TheSet
is likely to contain only one element in most cases.TypedJsonSchemaObject.getTypes()
UntypedJsonSchemaObject.getTypes()
static Set<JsonSchemaObject.Type>
JsonSchemaObject.Type.jsonTypes()
Modifier and TypeMethodDescriptionstatic TypedJsonSchemaObject
JsonSchemaObject.of
(JsonSchemaObject.Type type) Create a newJsonSchemaObject
of givenJsonSchemaObject.Type
.static TypedJsonSchemaObject
TypedJsonSchemaObject.of
(JsonSchemaObject.Type... types) Creates newTypedJsonSchemaObject
of given types.JsonSchemaProperty.JsonSchemaPropertyBuilder.ofType
(JsonSchemaObject.Type type) Configure aJsonSchemaObject.Type
for the property.