Class Insert
- java.lang.Object
-
- org.dashbuilder.dataprovider.sql.model.SQLStatement<Insert>
-
- org.dashbuilder.dataprovider.sql.model.Insert
-
public class Insert extends SQLStatement<Insert>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Column>columnsprotected Listvalues-
Fields inherited from class org.dashbuilder.dataprovider.sql.model.SQLStatement
_columnsRefs, connection, dialect, table
-
-
Constructor Summary
Constructors Constructor Description Insert(Connection connection, Dialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()List<Column>getColumns()StringgetSQL()ListgetValues()Insertinto(Table table)Insertset(Column column, Object value)StringtoString()-
Methods inherited from class org.dashbuilder.dataprovider.sql.model.SQLStatement
fix, fix, fix, fixCase, fixColumns, getConnection, getDialect, getTable, table
-
-
-
-
Constructor Detail
-
Insert
public Insert(Connection connection, Dialect dialect)
-
-
Method Detail
-
getValues
public List getValues()
-
getSQL
public String getSQL()
-
execute
public void execute() throws SQLException- Throws:
SQLException
-
-