Class InsertValue


  • public class InsertValue
    extends java.lang.Object
    The InsertValue represents a value that is inserted into the database with the INSERT statement.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected InsertValue​(Insert insert, java.lang.String column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Insert query​(Query query)
      Use a subquery as value supplier.
      Insert value​(java.lang.Object value)
      Set a value to be inserted
      Insert values​(ValueHolder values)
      Set multiple values to be inserted
      Insert values​(java.lang.Object... values)
      Set multiple values to be inserted
      • Methods inherited from class java.lang.Object

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

      • InsertValue

        protected InsertValue​(Insert insert,
                              java.lang.String column)
    • Method Detail

      • value

        public Insert value​(java.lang.Object value)
        Set a value to be inserted
        Parameters:
        value - The value
        Returns:
        The INSERT statement
      • values

        public Insert values​(java.lang.Object... values)
        Set multiple values to be inserted
        Parameters:
        values - The values
        Returns:
        The INSERT statement
      • values

        public Insert values​(ValueHolder values)
        Set multiple values to be inserted
        Parameters:
        values - The values
        Returns:
        The INSERT statement
      • query

        public Insert query​(Query query)
        Use a subquery as value supplier.
        Parameters:
        query - The subquery
        Returns:
        The INSERT statement