Class UpdateValue


  • public class UpdateValue
    extends java.lang.Object
    The UpdateValue class that represents a database value to be used with an UPDATE statement.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected UpdateValue​(Update update, java.lang.String column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Update expr​(java.lang.String expr)
      Use an expression to update the value
      Update value​(java.lang.Object value)
      Set the updated value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateValue

        protected UpdateValue​(Update update,
                              java.lang.String column)
    • Method Detail

      • value

        public Update value​(java.lang.Object value)
        Set the updated value
        Parameters:
        value - The updated value
        Returns:
        The UPDATE statement
      • expr

        public Update expr​(java.lang.String expr)
        Use an expression to update the value
        Parameters:
        expr - The update expression
        Returns:
        The UPDATE statement