Class Expression

    • Constructor Detail

      • Expression

        public Expression​(String operation)
      • Expression

        @MorphiaInternal
        public Expression​(String operation,
                          Expression 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.
      • Expression

        @MorphiaInternal
        public Expression​(String operation,
                          List<Expression> 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

        @MorphiaInternal
        public void encode​(Datastore datastore,
                           BsonWriter writer,
                           EncoderContext encoderContext)
        Parameters:
        datastore - the datastore
        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

        @MorphiaInternal
        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
        @MorphiaInternal
        public Expression 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.