Class MultiPolygonCodec
java.lang.Object
com.mongodb.client.model.geojson.codecs.MultiPolygonCodec
- All Implemented Interfaces:
Codec<MultiPolygon>
,Decoder<MultiPolygon>
,Encoder<MultiPolygon>
A Codec for a GeoJSON MultiPolygon.
- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(BsonReader reader, DecoderContext decoderContext) void
encode
(BsonWriter writer, MultiPolygon value, EncoderContext encoderContext)
-
Constructor Details
-
MultiPolygonCodec
Constructs an instance.- Parameters:
registry
- the registry
-
-
Method Details