Class GeometryCodec
java.lang.Object
com.mongodb.client.model.geojson.codecs.GeometryCodec
A Codec for a GeoJSON Geometry.
- Since:
- 3.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(BsonReader reader, DecoderContext decoderContext) void
encode
(BsonWriter writer, Geometry value, EncoderContext encoderContext)
-
Constructor Details
-
GeometryCodec
Construct a new instance- Parameters:
registry
- the CodecRegistry
-
-
Method Details