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