Class ReplaceWithCodec
- java.lang.Object
-
- dev.morphia.aggregation.codecs.stages.StageCodec<ReplaceWith>
-
- dev.morphia.aggregation.codecs.stages.ReplaceWithCodec
-
- All Implemented Interfaces:
Codec<ReplaceWith>
,Decoder<ReplaceWith>
,Encoder<ReplaceWith>
public class ReplaceWithCodec extends StageCodec<ReplaceWith>
-
-
Constructor Summary
Constructors Constructor Description ReplaceWithCodec(Datastore datastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeStage(BsonWriter writer, ReplaceWith replace, EncoderContext encoderContext)
Class<ReplaceWith>
getEncoderClass()
-
Methods inherited from class dev.morphia.aggregation.codecs.stages.StageCodec
decode, encode, getCodecRegistry, getDatastore
-
-
-
-
Constructor Detail
-
ReplaceWithCodec
public ReplaceWithCodec(Datastore datastore)
-
-
Method Detail
-
getEncoderClass
public Class<ReplaceWith> getEncoderClass()
-
encodeStage
protected void encodeStage(BsonWriter writer, ReplaceWith replace, EncoderContext encoderContext)
- Specified by:
encodeStage
in classStageCodec<ReplaceWith>
-
-