org.springframework.data.mongodb.core.schema

Class TypedJsonSchemaObject.NumericJsonSchemaObject

  • All Implemented Interfaces:
    JsonSchemaObject
    Enclosing class:
    TypedJsonSchemaObject


    public static class TypedJsonSchemaObject.NumericJsonSchemaObject
    extends TypedJsonSchemaObject
    JsonSchemaObject implementation of type : 'number', bsonType : 'int', bsonType : 'long', bsonType : 'double' and bsonType : 'decimal128' schema elements.
    Provides programmatic access to schema specifics like multipleOf, minimum, maximum,... via a fluent API producing immutable schema objects.
    Since:
    2.1
    Author:
    Christoph Strobl