Class LetExpression

    • Constructor Detail

      • LetExpression

        public LetExpression​(Expression in)
    • 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
      • variable

        public LetExpression variable​(String name,
                                      Expression expression)
        Defines a new variable
        Parameters:
        name - the variable name
        expression - the value expression
        Returns:
        this