Package com.mongodb
Class DefaultDBDecoder
- java.lang.Object
 - 
- org.bson.BasicBSONDecoder
 - 
- com.mongodb.DefaultDBDecoder
 
 
 
- 
- All Implemented Interfaces:
 DBDecoder,BSONDecoder
@Deprecated(since="2021-05-27") public class DefaultDBDecoder extends BasicBSONDecoder implements DBDecoder
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.An implementation of DBDecoder 
- 
- 
Field Summary
Fields Modifier and Type Field Description static DBDecoderFactoryFACTORYDeprecated. 
- 
Constructor Summary
Constructors Constructor Description DefaultDBDecoder()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DBObjectdecode(byte[] bytes, DBCollection collection)Deprecated.Decode a single DBObject belonging to the given collection from the given array of bytes.DBObjectdecode(java.io.InputStream input, DBCollection collection)Deprecated.Decode a single DBObject belonging to the given collection from the given input stream.DBCallbackgetDBCallback(DBCollection collection)Deprecated.Get a callback for the given collection.java.lang.StringtoString()Deprecated.- 
Methods inherited from class org.bson.BasicBSONDecoder
decode, decode, readObject, readObject 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.bson.BSONDecoder
decode, decode, readObject, readObject 
 - 
 
 - 
 
- 
- 
Field Detail
- 
FACTORY
public static final DBDecoderFactory FACTORY
Deprecated. 
 - 
 
- 
Method Detail
- 
getDBCallback
public DBCallback getDBCallback(DBCollection collection)
Deprecated.Description copied from interface:DBDecoderGet a callback for the given collection.- Specified by:
 getDBCallbackin interfaceDBDecoder- Parameters:
 collection- the collection- Returns:
 - the callback
 
 
- 
decode
public DBObject decode(java.io.InputStream input, DBCollection collection) throws java.io.IOException
Deprecated.Description copied from interface:DBDecoderDecode a single DBObject belonging to the given collection from the given input stream. 
- 
decode
public DBObject decode(byte[] bytes, DBCollection collection)
Deprecated.Description copied from interface:DBDecoderDecode a single DBObject belonging to the given collection from the given array of bytes. 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -