• java.lang.Object
    • dev.morphia.aggregation.experimental.expressions.impls.Expression
    • Constructor Detail

      • Expression

        protected Expression​(String operation)
      • Expression

        public Expression​(String operation,
                          @Nullable
                          Object value)
        Parameters:
        operation - the expression name
        value - the value
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • encode

        public void encode​(Mapper mapper,
                           org.bson.BsonWriter writer,
                           org.bson.codecs.EncoderContext encoderContext)
        Parameters:
        mapper - the mapper
        writer - the writer
        encoderContext - the context
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • getOperation

        public String getOperation()
        Returns:
        the value
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
      • getValue

        @Nullable
        public Object getValue()
        Returns:
        the value
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.