• All Implemented Interfaces:
    org.bson.codecs.Codec<Sample>, org.bson.codecs.Decoder<Sample>, org.bson.codecs.Encoder<Sample>

    public class SampleCodec
    extends StageCodec<Sample>
    • Constructor Detail

      • SampleCodec

        public SampleCodec​(Mapper mapper)
    • Method Detail

      • encodeStage

        protected void encodeStage​(org.bson.BsonWriter writer,
                                   Sample value,
                                   org.bson.codecs.EncoderContext encoderContext)
        Specified by:
        encodeStage in class StageCodec<Sample>
      • getEncoderClass

        public Class<Sample> getEncoderClass()