- asString
Gets this value as a BsonString if it is one, otherwise throws exception
- asDocument
Gets this value as a BsonDocument if it is one, otherwise throws exception
- asObjectId
Gets this value as an BsonObjectId if it is one, otherwise throws exception
- asArray
Gets this value as a BsonArray if it is one, otherwise throws exception
- asBoolean
Gets this value as a BsonBoolean if it is one, otherwise throws exception
- asInt32
Gets this value as a BsonInt32 if it is one, otherwise throws exception
- asInt64
Gets this value as a BsonInt64 if it is one, otherwise throws exception
- isNull
Returns true if this is a BsonNull, false otherwise.
- asDouble
Gets this value as a BsonDouble if it is one, otherwise throws exception
- getBsonType
Gets the BSON type of this value.
- asDateTime
Gets this value as a BsonDateTime if it is one, otherwise throws exception
- isString
Returns true if this is a BsonString, false otherwise.