@Deprecated public class KeyCachingLazyBSONObject extends LazyBSONObject
LazyBSONObject.LazyBSONKeySet
_callback, _doc_start_offset, _input
Constructor and Description |
---|
KeyCachingLazyBSONObject(BSONByteBuffer buffer,
int offset,
LazyBSONCallback callback)
Deprecated.
|
KeyCachingLazyBSONObject(BSONByteBuffer buffer,
LazyBSONCallback callback)
Deprecated.
|
KeyCachingLazyBSONObject(byte[] data,
int offset,
LazyBSONCallback cbk)
Deprecated.
|
KeyCachingLazyBSONObject(byte[] data,
LazyBSONCallback cbk)
Deprecated.
|
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.
|
containsKey, entrySet, equals, getBSONSize, getBytes, getElementBSONSize, getElementType, getElementValue, getOffset, hashCode, isElementEmpty, isEmpty, keySet, pipe, put, putAll, putAll, removeField, sizeCString, toMap, toString
public KeyCachingLazyBSONObject(byte[] data, LazyBSONCallback cbk)
public KeyCachingLazyBSONObject(byte[] data, int offset, LazyBSONCallback cbk)
@Deprecated public KeyCachingLazyBSONObject(BSONByteBuffer buffer, LazyBSONCallback callback)
KeyCachingLazyBSONObject(byte[], LazyBSONCallback)
instead@Deprecated public KeyCachingLazyBSONObject(BSONByteBuffer buffer, int offset, LazyBSONCallback callback)
KeyCachingLazyBSONObject(byte[], int, LazyBSONCallback)
insteadpublic Object get(String key)
BSONObject
get
in interface BSONObject
get
in class LazyBSONObject
key
- The name of the field fetchpublic boolean containsField(String s)
BSONObject
containsField
in interface BSONObject
containsField
in class LazyBSONObject
s
- Field name for which to check