@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(java.lang.String s)
Deprecated.
Checks if this object contains a field with the given name.
|
java.lang.Object |
get(java.lang.String key)
Deprecated.
Gets a field from this object by a given name.
|
boolean |
isEmpty()
Deprecated.
Gets whether this is an empty
BSONObject. |
java.util.Set<java.lang.String> |
keySet()
Deprecated.
Returns this object's fields' names
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object v)
Deprecated.
Always throws
UnsupportedOperationException. |
void |
putAll(BSONObject o)
Deprecated.
Always throws
UnsupportedOperationException. |
void |
putAll(java.util.Map m)
Deprecated.
Always throws
UnsupportedOperationException. |
java.lang.Object |
removeField(java.lang.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 java.lang.Object put(java.lang.String key,
java.lang.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(java.util.Map m)
LazyBSONObjectUnsupportedOperationException.putAll in interface BSONObjectputAll in class LazyBSONObjectm - the mappublic java.lang.Object get(java.lang.String key)
BSONObjectget in interface BSONObjectget in class LazyBSONObjectkey - The name of the field fetchpublic java.lang.Object removeField(java.lang.String key)
LazyBSONObjectUnsupportedOperationException.removeField in interface BSONObjectremoveField in class LazyBSONObjectkey - The name of the field to removepublic boolean containsField(java.lang.String s)
BSONObjectcontainsField in interface BSONObjectcontainsField in class LazyBSONObjects - Field name for which to checkpublic java.util.Set<java.lang.String> keySet()
BSONObjectkeySet in interface BSONObjectkeySet in class LazyBSONObjectpublic boolean isEmpty()
LazyBSONObjectBSONObject.isEmpty in class LazyBSONObject