public class Insert extends QueryBuilder
INSERT queries.| Modifier | Constructor and Description |
|---|---|
protected |
Insert() |
| Modifier and Type | Method and Description |
|---|---|
Query |
build()
Builds a SQL statement and abstracts it in a
Query object ready for execution. |
Insert |
into(java.lang.Class<?> table)
Specifies the table that the query inserts into.
|
Insert |
into(java.lang.String table)
Specifies the table that the query inserts into.
|
Insert |
set(java.lang.String column,
java.lang.Object value)
Sets the column with the given
value. |
getTableNamepublic Insert into(java.lang.Class<?> table)
table - the name of table that the query inserts into.Select object for further query construction.public Insert into(java.lang.String table)
table - the name of table that the query inserts into.Select object for further query construction.public Insert set(java.lang.String column, java.lang.Object value)
value.column - the column to set.value - the value to be set to the column.Select object for further query construction.public Query build()
Query object ready for execution.build in class QueryBuilderQuery object ready for execution.