Package com.mongodb.client.model.mql
Class ExpressionCodecProvider
java.lang.Object
com.mongodb.client.model.mql.ExpressionCodecProvider
- All Implemented Interfaces:
CodecProvider
@Beta(CLIENT)
@Immutable
public final class ExpressionCodecProvider
extends Object
implements CodecProvider
Provides Codec instances for the
MQL API
.
Responsible for converting values and computations expressed using the
driver's implementation of the MQL API
into the corresponding
values and computations expressed in MQL BSON. Booleans are converted to BSON
booleans, documents to BSON documents, and so on. The specific structure
representing numbers is preserved where possible (that is, number literals
specified as Java longs are converted into BSON int64, and so on).
- Since:
- 4.9.0
-
Constructor Details
-
ExpressionCodecProvider
public ExpressionCodecProvider()
-
-
Method Details
-
get
- Specified by:
get
in interfaceCodecProvider
-