@Deprecated public class LazyWriteableDBObject extends LazyDBObject
LazyBSONObject.LazyBSONKeySet_callback, _doc_start_offset, _input| Constructor and Description |
|---|
LazyWriteableDBObject(BSONByteBuffer buff,
int offset,
LazyBSONCallback cbk)
Deprecated.
|
LazyWriteableDBObject(BSONByteBuffer buff,
LazyBSONCallback cbk)
Deprecated.
|
LazyWriteableDBObject(byte[] bytes,
int offset,
LazyBSONCallback callback)
Deprecated.
Construct an instance.
|
LazyWriteableDBObject(byte[] bytes,
LazyBSONCallback callback)
Deprecated.
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsField(String s)
Deprecated.
Checks if this object contains a field with the given name.
|
Object |
get(String key)
Deprecated.
Gets a field from this object by a given name.
|
boolean |
isEmpty()
Deprecated.
Gets whether this is an empty
BSONObject. |
Set<String> |
keySet()
Deprecated.
Returns this object's fields' names
|
Object |
put(String key,
Object v)
Deprecated.
Always throws
UnsupportedOperationException. |
void |
putAll(BSONObject o)
Deprecated.
Always throws
UnsupportedOperationException. |
void |
putAll(Map m)
Deprecated.
Always throws
UnsupportedOperationException. |
Object |
removeField(String key)
Deprecated.
Always throws
UnsupportedOperationException. |
isPartialObject, markAsPartialObjectcontainsKey, entrySet, equals, getBSONSize, getBytes, getElementBSONSize, getElementType, getElementValue, getOffset, hashCode, isElementEmpty, pipe, sizeCString, toMap, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsKey, toMappublic LazyWriteableDBObject(byte[] bytes,
LazyBSONCallback callback)
bytes - the raw bytescallback - the callback to use to construct nested valuespublic LazyWriteableDBObject(byte[] bytes,
int offset,
LazyBSONCallback callback)
bytes - the raw bytesoffset - the offset into the raw bytescallback - the callback to use to construct nested values@Deprecated public LazyWriteableDBObject(BSONByteBuffer buff, LazyBSONCallback cbk)
LazyWriteableDBObject(byte[], org.bson.LazyBSONCallback) instead@Deprecated public LazyWriteableDBObject(BSONByteBuffer buff, int offset, LazyBSONCallback cbk)
LazyWriteableDBObject(byte[], int, org.bson.LazyBSONCallback) insteadpublic Object put(String key, Object v)
LazyBSONObjectUnsupportedOperationException.put in interface BSONObjectput in class LazyBSONObjectkey - Name to setv - Corresponding valuepublic void putAll(BSONObject o)
LazyBSONObjectUnsupportedOperationException.putAll in interface BSONObjectputAll in class LazyBSONObjecto - the objectpublic void putAll(Map m)
LazyBSONObjectUnsupportedOperationException.putAll in interface BSONObjectputAll in class LazyBSONObjectm - the mappublic Object get(String key)
BSONObjectget in interface BSONObjectget in class LazyBSONObjectkey - The name of the field fetchpublic Object removeField(String key)
LazyBSONObjectUnsupportedOperationException.removeField in interface BSONObjectremoveField in class LazyBSONObjectkey - The name of the field to removepublic boolean containsField(String s)
BSONObjectcontainsField in interface BSONObjectcontainsField in class LazyBSONObjects - Field name for which to checkpublic Set<String> keySet()
BSONObjectkeySet in interface BSONObjectkeySet in class LazyBSONObjectpublic boolean isEmpty()
LazyBSONObjectBSONObject.isEmpty in class LazyBSONObject