Class PolygonCodec
java.lang.Object
com.mongodb.client.model.geojson.codecs.PolygonCodec
A Codec for a GeoJSON polygon.
- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(BsonReader reader, DecoderContext decoderContext) void
encode
(BsonWriter writer, Polygon value, EncoderContext encoderContext)
-
Constructor Details
-
PolygonCodec
Constructs an instance.- Parameters:
registry
- the registry
-
-
Method Details