Class InsertRow


public class InsertRow extends H2SqlPart
Represents a row of values for H2 insert statements.
  • Constructor Details

    • InsertRow

      public InsertRow()
  • Method Details

    • getValues

      public List<InsertValue> getValues()
      Returns the list of insert values for this row.
      Returns:
      the list of values
    • add

      public InsertRow add(String columnName, Object value)
      Adds a column-value pair to this row.
      Parameters:
      columnName - the column name
      value - the value to insert
      Returns:
      this instance
    • collectSqlFragment

      public void collectSqlFragment(CodeWriter writer)
      Description copied from class: SqlPart
      Writes this part's SQL to the writer; used by SqlPart.getSqlFragment() and by enclosing parts.
      Specified by:
      collectSqlFragment in class SqlPart