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

    public class FacetCodec
    extends StageCodec<Facet>
    • Constructor Detail

      • FacetCodec

        public FacetCodec​(Mapper mapper)
    • Method Detail

      • getEncoderClass

        public Class<Facet> getEncoderClass()
      • encodeStage

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