Class SqlInsertBuilder


  • public class SqlInsertBuilder
    extends Object
    • Constructor Detail

      • SqlInsertBuilder

        public SqlInsertBuilder​(String table,
                                List<String> columns,
                                List<ArrayList<SqlData>> rows,
                                com.fasterxml.jackson.databind.JsonNode sqlOptions)
        Parameters:
        table -
        columns -
        rows -
        sqlOptions -
    • Method Detail

      • getInsertSQL

        public String getInsertSQL()
        Get Insert Sql
        Returns:
      • handleNullField

        public void handleNullField​(boolean allowNullChkBox,
                                    String defaultValue,
                                    boolean nullValueNull,
                                    String col,
                                    StringBuilder rowValue,
                                    boolean quote)
        Parameters:
        allowNullChkBox -
        defaultValue -
        nullValueNull -
        col -
        rowValue -
        quote -