Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
org.springframework.data.mongodb.core.query |
MongoDB specific query and update support.
|
org.springframework.data.mongodb.core.schema |
MongoDB-specific JSON schema implementation classes.
|
Modifier and Type | Method and Description |
---|---|
ConvertOperators.Convert |
ConvertOperators.ConvertOperatorFactory.convertTo(JsonSchemaObject.Type type)
Creates new
aggregation expression that takes the associated value and converts it into the type
specified by the given JsonSchemaObject.Type . |
ConvertOperators.Convert |
ConvertOperators.Convert.to(JsonSchemaObject.Type type)
Specify the conversion target type.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.type(JsonSchemaObject.Type... types)
Creates a criterion using the $type operator.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.type(Collection<JsonSchemaObject.Type> types)
Creates a criterion using the $type operator.
|
Modifier and Type | Class and Description |
---|---|
static class |
JsonSchemaObject.Type.BsonType |
static class |
JsonSchemaObject.Type.JsonType |
Modifier and Type | Field and Description |
---|---|
static JsonSchemaObject.Type |
JsonSchemaObject.Type.ARRAY |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.BINARY_DATA |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.BOOLEAN |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.DATE |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.DECIMAL_128 |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.DOUBLE |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.INT_32 |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.INT_64 |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.JAVA_SCRIPT |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.NULL |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.NUMBER |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.OBJECT |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.OBJECT_ID |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.REGULAR_EXPRESSION |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.STRING |
static JsonSchemaObject.Type |
JsonSchemaObject.Type.TIMESTAMP |
Modifier and Type | Field and Description |
---|---|
static Set<JsonSchemaObject.Type> |
JsonSchemaObject.Type.BSON_TYPES |
static Set<JsonSchemaObject.Type> |
JsonSchemaObject.Type.JSON_TYPES |
protected Set<JsonSchemaObject.Type> |
TypedJsonSchemaObject.types |
Modifier and Type | Method and Description |
---|---|
static 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 |
JsonSchemaObject.Type.of(String name)
Create a
JsonSchemaObject.Type with its default representation 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 Type | Method and Description |
---|---|
static Set<JsonSchemaObject.Type> |
JsonSchemaObject.Type.bsonTypes() |
Set<JsonSchemaObject.Type> |
UntypedJsonSchemaObject.getTypes() |
Set<JsonSchemaObject.Type> |
TypedJsonSchemaObject.getTypes() |
Set<JsonSchemaObject.Type> |
JsonSchemaObject.getTypes()
Get the set of types defined for this schema element.
|
Set<JsonSchemaObject.Type> |
IdentifiableJsonSchemaProperty.getTypes() |
Set<JsonSchemaObject.Type> |
IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty.getTypes() |
Set<JsonSchemaObject.Type> |
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.getTypes() |
static Set<JsonSchemaObject.Type> |
JsonSchemaObject.Type.jsonTypes() |
Modifier and Type | Method and Description |
---|---|
static TypedJsonSchemaObject |
TypedJsonSchemaObject.of(JsonSchemaObject.Type... types)
Creates new
TypedJsonSchemaObject of given types. |
static TypedJsonSchemaObject |
JsonSchemaObject.of(JsonSchemaObject.Type type)
Create a new
JsonSchemaObject of given JsonSchemaObject.Type . |
IdentifiableJsonSchemaProperty<TypedJsonSchemaObject> |
JsonSchemaProperty.JsonSchemaPropertyBuilder.ofType(JsonSchemaObject.Type type)
Configure a
Type for the property. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.