Class UnionWithCodec
- java.lang.Object
-
- dev.morphia.aggregation.experimental.codecs.stages.StageCodec<UnionWith>
-
- dev.morphia.aggregation.experimental.codecs.stages.UnionWithCodec
-
- All Implemented Interfaces:
org.bson.codecs.Codec<UnionWith>
,org.bson.codecs.Decoder<UnionWith>
,org.bson.codecs.Encoder<UnionWith>
public class UnionWithCodec extends StageCodec<UnionWith>
Encodes a UnionWith stage- Since:
- 2.1
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Constructor Description UnionWithCodec(Mapper mapper)
Creates the codec
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeStage(org.bson.BsonWriter writer, UnionWith unionWith, org.bson.codecs.EncoderContext encoderContext)
Class<UnionWith>
getEncoderClass()
-
Methods inherited from class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
decode, encode, getCodecRegistry, getMapper
-
-
-
-
Constructor Detail
-
UnionWithCodec
public UnionWithCodec(Mapper mapper)
Creates the codec- Parameters:
mapper
- the mapper to use
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Method Detail
-
encodeStage
protected void encodeStage(org.bson.BsonWriter writer, UnionWith unionWith, org.bson.codecs.EncoderContext encoderContext)
- Specified by:
encodeStage
in classStageCodec<UnionWith>
-
-