public class MongoBsonValue
extends java.lang.Object
The driver's BsonValue class is abstract and intentionally cannot be extended by third parties. The driver explains this is to keep the BSON type system closed. Therefore, this class does not extend BsonValue, instead it contains a BsonValue member.
| Constructor and Description |
|---|
MongoBsonValue(org.bson.BsonValue v,
boolean isExtended) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.bson.BsonValue |
getBsonValue() |
int |
hashCode() |
void |
setJsonWriterSettings(boolean isExtended) |
java.lang.String |
toString() |
public void setJsonWriterSettings(boolean isExtended)
public org.bson.BsonValue getBsonValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object