Uses of Class
org.bson.BsonType
-
Packages that use BsonType Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs.org.bson.json JSON serialization and deserialization. -
-
Uses of BsonType in org.bson
Methods in org.bson that return BsonType Modifier and Type Method Description static BsonType
BsonType. findByValue(int value)
Gets theBsonType
that corresponds to the given int value.BsonType
BsonArray. getBsonType()
BsonType
BsonBinary. getBsonType()
BsonType
BsonBoolean. getBsonType()
BsonType
BsonDateTime. getBsonType()
BsonType
BsonDbPointer. getBsonType()
BsonType
BsonDecimal128. getBsonType()
BsonType
BsonDocument. getBsonType()
BsonType
BsonDouble. getBsonType()
BsonType
BsonInt32. getBsonType()
BsonType
BsonInt64. getBsonType()
BsonType
BsonJavaScript. getBsonType()
BsonType
BsonJavaScriptWithScope. getBsonType()
BsonType
BsonMaxKey. getBsonType()
BsonType
BsonMinKey. getBsonType()
BsonType
BsonNull. getBsonType()
BsonType
BsonObjectId. getBsonType()
BsonType
BsonRegularExpression. getBsonType()
BsonType
BsonString. getBsonType()
BsonType
BsonSymbol. getBsonType()
BsonType
BsonTimestamp. getBsonType()
BsonType
BsonUndefined. getBsonType()
abstract BsonType
BsonValue. getBsonType()
Gets the BSON type of this value.BsonType
AbstractBsonReader. getCurrentBsonType()
BsonType
BsonReader. getCurrentBsonType()
abstract BsonType
AbstractBsonReader. readBsonType()
BsonType
BsonBinaryReader. readBsonType()
BsonType
BsonDocumentReader. readBsonType()
BsonType
BsonReader. readBsonType()
Reads a BSONType from the reader.static BsonType
BsonType. valueOf(String name)
Returns the enum constant of this type with the specified name.static BsonType[]
BsonType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bson with parameters of type BsonType Modifier and Type Method Description protected void
AbstractBsonReader. checkPreconditions(String methodName, BsonType type)
Ensures any conditions are met before reading commences.protected void
AbstractBsonReader. setCurrentBsonType(BsonType newType)
Sets the type of the current value being read.protected void
AbstractBsonReader. verifyBSONType(String methodName, BsonType requiredBsonType)
Verifies the current state and BSONType of the reader. -
Uses of BsonType in org.bson.codecs
Methods in org.bson.codecs with parameters of type BsonType Modifier and Type Method Description Class<?>
BsonTypeClassMap. get(BsonType bsonType)
Gets the Class that is mapped to the given BSON type.Codec<?>
BsonTypeCodecMap. get(BsonType bsonType)
Gets the Codec mapped to the given bson type.static Class<? extends BsonValue>
BsonValueCodecProvider. getClassForBsonType(BsonType bsonType)
Get theBsonValue
subclass associated with the givenBsonType
.Constructor parameters in org.bson.codecs with type arguments of type BsonType Constructor Description BsonTypeClassMap(Map<BsonType,Class<?>> replacementsForDefaults)
Construct an instance with the default mapping, but replacing the default mapping with any values contained in the given map. -
Uses of BsonType in org.bson.json
Methods in org.bson.json that return BsonType Modifier and Type Method Description BsonType
JsonReader. readBsonType()
-