public static interface JsonSchemaObject.Type
Modifier and Type | Interface and Description |
---|---|
static class |
JsonSchemaObject.Type.BsonType |
static class |
JsonSchemaObject.Type.JsonType |
Modifier and Type | Field and Description |
---|---|
static JsonSchemaObject.Type |
ARRAY |
static JsonSchemaObject.Type |
BINARY_DATA |
static JsonSchemaObject.Type |
BOOLEAN |
static Set<JsonSchemaObject.Type> |
BSON_TYPES |
static JsonSchemaObject.Type |
DATE |
static JsonSchemaObject.Type |
DECIMAL_128 |
static JsonSchemaObject.Type |
DOUBLE |
static JsonSchemaObject.Type |
INT_32 |
static JsonSchemaObject.Type |
INT_64 |
static JsonSchemaObject.Type |
JAVA_SCRIPT |
static Set<JsonSchemaObject.Type> |
JSON_TYPES |
static JsonSchemaObject.Type |
NULL |
static JsonSchemaObject.Type |
NUMBER |
static JsonSchemaObject.Type |
OBJECT |
static JsonSchemaObject.Type |
OBJECT_ID |
static JsonSchemaObject.Type |
REGULAR_EXPRESSION |
static JsonSchemaObject.Type |
STRING |
static JsonSchemaObject.Type |
TIMESTAMP |
static final JsonSchemaObject.Type OBJECT_ID
static final JsonSchemaObject.Type REGULAR_EXPRESSION
static final JsonSchemaObject.Type DOUBLE
static final JsonSchemaObject.Type BINARY_DATA
static final JsonSchemaObject.Type DATE
static final JsonSchemaObject.Type JAVA_SCRIPT
static final JsonSchemaObject.Type INT_32
static final JsonSchemaObject.Type INT_64
static final JsonSchemaObject.Type DECIMAL_128
static final JsonSchemaObject.Type TIMESTAMP
static final Set<JsonSchemaObject.Type> BSON_TYPES
static final JsonSchemaObject.Type OBJECT
static final JsonSchemaObject.Type ARRAY
static final JsonSchemaObject.Type NUMBER
static final JsonSchemaObject.Type BOOLEAN
static final JsonSchemaObject.Type STRING
static final JsonSchemaObject.Type NULL
static final Set<JsonSchemaObject.Type> JSON_TYPES
static JsonSchemaObject.Type objectIdType()
JsonSchemaObject.Type
representing bsonType : 'objectId'
.static JsonSchemaObject.Type regexType()
JsonSchemaObject.Type
representing bsonType : 'regex'
.static JsonSchemaObject.Type doubleType()
JsonSchemaObject.Type
representing bsonType : 'double'
.static JsonSchemaObject.Type binaryType()
JsonSchemaObject.Type
representing bsonType : 'binData'
.static JsonSchemaObject.Type dateType()
JsonSchemaObject.Type
representing bsonType : 'date'
.static JsonSchemaObject.Type javascriptType()
JsonSchemaObject.Type
representing bsonType : 'javascript'
.static JsonSchemaObject.Type intType()
JsonSchemaObject.Type
representing bsonType : 'int'
.static JsonSchemaObject.Type longType()
JsonSchemaObject.Type
representing bsonType : 'long'
.static JsonSchemaObject.Type bigDecimalType()
JsonSchemaObject.Type
representing bsonType : 'decimal128'
.static JsonSchemaObject.Type timestampType()
JsonSchemaObject.Type
representing bsonType : 'timestamp'
.static JsonSchemaObject.Type objectType()
JsonSchemaObject.Type
representing type : 'object'
.static JsonSchemaObject.Type arrayType()
JsonSchemaObject.Type
representing type : 'array'
.static JsonSchemaObject.Type numberType()
JsonSchemaObject.Type
representing type : 'number'
.static JsonSchemaObject.Type booleanType()
JsonSchemaObject.Type
representing type : 'boolean'
.static JsonSchemaObject.Type stringType()
JsonSchemaObject.Type
representing type : 'string'
.static JsonSchemaObject.Type nullType()
JsonSchemaObject.Type
representing type : 'null'
.static JsonSchemaObject.Type bsonTypeOf(String name)
JsonSchemaObject.Type
representing the given bsonType
.static JsonSchemaObject.Type jsonTypeOf(String name)
JsonSchemaObject.Type
representing the given type
.static JsonSchemaObject.Type of(String name)
JsonSchemaObject.Type
with its default representation
via the name.name
- must not be null.static Set<JsonSchemaObject.Type> jsonTypes()
static Set<JsonSchemaObject.Type> bsonTypes()
String representation()
Object value()
JsonSchemaObject.Type
value. Like string, number,...default JsonSchemaObject.Type toBsonType()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.