• public class LiteralExpression
    extends Expression
    • Constructor Detail

      • LiteralExpression

        public LiteralExpression​(Object value)
    • Method Detail

      • encode

        public void encode​(Mapper mapper,
                           org.bson.BsonWriter writer,
                           org.bson.codecs.EncoderContext encoderContext)
        Overrides:
        encode in class Expression
        Parameters:
        mapper - the mapper
        writer - the writer
        encoderContext - the context