Package dev.morphia.aggregation.codecs
Class ExpressionCodec<T extends dev.morphia.aggregation.expressions.impls.Expression>
- java.lang.Object
-
- dev.morphia.aggregation.codecs.ExpressionCodec<T>
-
-
Constructor Summary
Constructors Constructor Description ExpressionCodec(Datastore datastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
decode(BsonReader reader, DecoderContext decoderContext)
void
encode(BsonWriter writer, T expression, EncoderContext encoderContext)
Class<T>
getEncoderClass()
-
-
-
Constructor Detail
-
ExpressionCodec
public ExpressionCodec(Datastore datastore)
-
-
Method Detail
-
decode
public final T decode(BsonReader reader, DecoderContext decoderContext)
-
encode
public void encode(BsonWriter writer, T expression, EncoderContext encoderContext)
-
getEncoderClass
public final Class<T> getEncoderClass()
- Specified by:
getEncoderClass
in interfaceEncoder<T extends dev.morphia.aggregation.expressions.impls.Expression>
-
-