java.lang.Object | |
↳ | org.bson.LazyBSONObject |
Known Direct Subclasses |
Known Indirect Subclasses |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LazyBSONObject.LazyBSONKeySet |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_callback | |||||||||||
_doc_start_offset | |||||||||||
_input |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks if this object contains a field with the given name.
| |||||||||||
Deprecated
| |||||||||||
This method will be more efficient than using a combination of keySet() and get(String key)
| |||||||||||
Gets a field from this object by a given name.
| |||||||||||
Returns this object's fields' names
| |||||||||||
Sets a name/value pair in this object.
| |||||||||||
Sets all key/value pairs from a map into this object
| |||||||||||
Sets all key/value pairs from an object into this object
| |||||||||||
Removes a field with a given name from this object.
| |||||||||||
Returns a map representing this BSONObject.
| |||||||||||
Returns a JSON serialization of this object
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the size of the BSON cstring at the given offset in the buffer
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bson.BSONObject
|
Checks if this object contains a field with the given name.
s | Field name for which to check |
---|
This method will be more efficient than using a combination of keySet() and get(String key)
Gets a field from this object by a given name.
key | The name of the field fetch |
---|
Returns this object's fields' names
Sets a name/value pair in this object.
key | Name to set |
---|---|
v | Corresponding value |
Sets all key/value pairs from a map into this object
m | the map |
---|
Sets all key/value pairs from an object into this object
o | the object |
---|
Removes a field with a given name from this object.
key | The name of the field to remove |
---|
Returns the size of the BSON cstring at the given offset in the buffer
offset | the offset into the buffer |
---|