private String getCreateTableSQL ( String columns , String references , String uniqueColumns ) { StringBuilder builder = new StringBuilder ( ) ; builder . append ( "CREATE TABLE " ) . append ( getTableName ( ) ) . append ( "(" ) ; builder . append ( columns ) ; builder . append ( references ) ; builder . append ( "UNIQUE (" ) . append ( uniqueColumns ) . append ( ") ON CONFLICT REPLACE" ) ; builder . append ( ");" ) ; return builder . toString ( ) ; }
Creates the SQL statement to create the table using given columns definitions .