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