Package com.mongodb
Class DefaultDBEncoder
- java.lang.Object
-
- org.bson.BasicBSONEncoder
-
- com.mongodb.DefaultDBEncoder
-
- All Implemented Interfaces:
DBEncoder
,BSONEncoder
@Deprecated(since="2021-05-27") public class DefaultDBEncoder extends BasicBSONEncoder implements DBEncoder
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The default BSON encoder for BSONObject instances.
-
-
Field Summary
Fields Modifier and Type Field Description static DBEncoderFactory
FACTORY
Deprecated.
-
Constructor Summary
Constructors Constructor Description DefaultDBEncoder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
toString()
Deprecated.int
writeObject(OutputBuffer outputBuffer, BSONObject document)
Deprecated.Encode the BSONObject.-
Methods inherited from class org.bson.BasicBSONEncoder
done, encode, putObject, set
-
-
-
-
Field Detail
-
FACTORY
public static final DBEncoderFactory FACTORY
Deprecated.
-
-
Method Detail
-
writeObject
public int writeObject(OutputBuffer outputBuffer, BSONObject document)
Deprecated.Description copied from interface:DBEncoder
Encode the BSONObject.- Specified by:
writeObject
in interfaceDBEncoder
- Parameters:
outputBuffer
- the OutputBuffer to write todocument
- the BSONObject to write- Returns:
- the number of characters in the encoding
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-