Class GeoNearCodec
- java.lang.Object
-
- dev.morphia.aggregation.experimental.codecs.stages.StageCodec<GeoNear>
-
- dev.morphia.aggregation.experimental.codecs.stages.GeoNearCodec
-
- All Implemented Interfaces:
org.bson.codecs.Codec<GeoNear>
,org.bson.codecs.Decoder<GeoNear>
,org.bson.codecs.Encoder<GeoNear>
public class GeoNearCodec extends StageCodec<GeoNear>
-
-
Constructor Summary
Constructors Constructor Description GeoNearCodec(Mapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeStage(org.bson.BsonWriter writer, GeoNear value, org.bson.codecs.EncoderContext encoderContext)
Class<GeoNear>
getEncoderClass()
-
Methods inherited from class dev.morphia.aggregation.experimental.codecs.stages.StageCodec
decode, encode, getCodecRegistry, getMapper
-
-
-
-
Constructor Detail
-
GeoNearCodec
public GeoNearCodec(Mapper mapper)
-
-
Method Detail
-
encodeStage
protected void encodeStage(org.bson.BsonWriter writer, GeoNear value, org.bson.codecs.EncoderContext encoderContext)
- Specified by:
encodeStage
in classStageCodec<GeoNear>
-
-