public class LazyDBDecoder extends LazyBSONDecoder implements DBDecoder
LazyDBObject instances.| Modifier and Type | Field and Description |
|---|---|
static DBDecoderFactory |
FACTORY
A factory for instances of this class
|
| Constructor and Description |
|---|
LazyDBDecoder() |
| Modifier and Type | Method and Description |
|---|---|
DBObject |
decode(byte[] b,
DBCollection collection)
Decode a single DBObject belonging to the given collection from the given array of bytes.
|
DBObject |
decode(java.io.InputStream in,
DBCollection collection)
Decode a single DBObject belonging to the given collection from the given input stream.
|
DBCallback |
getDBCallback(DBCollection collection)
Get a callback for the given collection.
|
decode, decode, readObject, readObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, decode, readObject, readObjectpublic static DBDecoderFactory FACTORY
public DBCallback getDBCallback(DBCollection collection)
DBDecodergetDBCallback in interface DBDecodercollection - the collectionpublic DBObject decode(byte[] b, DBCollection collection)
DBDecoderpublic DBObject decode(java.io.InputStream in, DBCollection collection) throws java.io.IOException
DBDecoder