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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(byte[] bytes, DBCollection collection) Deprecated.Decode a single DBObject belonging to the given collection from the given array of bytes.decode(InputStream input, DBCollection collection) Deprecated.Decode a single DBObject belonging to the given collection from the given input stream.getDBCallback(DBCollection collection) Deprecated.Get a callback for the given collection.toString()Deprecated.Methods inherited from class org.bson.BasicBSONDecoder
decode, decode, readObject, readObjectMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bson.BSONDecoder
decode, decode, readObject, readObject
-
Field Details
-
FACTORY
Deprecated.
-
-
Constructor Details
-
DefaultDBDecoder
public DefaultDBDecoder()Deprecated.
-
-
Method Details
-
getDBCallback
Deprecated.Description copied from interface:DBDecoderGet a callback for the given collection.- Specified by:
getDBCallbackin interfaceDBDecoder- Parameters:
collection- the collection- Returns:
- the callback
-
decode
Deprecated.Description copied from interface:DBDecoderDecode a single DBObject belonging to the given collection from the given input stream.- Specified by:
decodein interfaceDBDecoder- Parameters:
input- the input streamcollection- the collection- Returns:
- the DBObject
- Throws:
IOException- may throw an exception while decoding from theInputStream
-
decode
Deprecated.Description copied from interface:DBDecoderDecode a single DBObject belonging to the given collection from the given array of bytes. -
toString
Deprecated.
-