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

    public class CountCodec
    extends StageCodec<Count>
    • Constructor Detail

      • CountCodec

        public CountCodec​(Mapper mapper)
    • Method Detail

      • getEncoderClass

        public Class<Count> getEncoderClass()
      • encodeStage

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