Package de.ec.sql
Class Insert
- java.lang.Object
-
- de.ec.sql.Insert
-
- All Implemented Interfaces:
BeforeSelect,QueryBuilder,QueryPart
public class Insert extends java.lang.Object implements QueryBuilder, BeforeSelect
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInsert(BeforeInsert builder, java.lang.String table)Insert(Table table)Insert(java.lang.String table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsertValuecolumn(java.lang.String column)Insertcolumn(java.lang.String column, java.lang.Object value)Insertcolumns(ValueHolder values)Insertdefaults()InsertorAbort()InsertorFail()InsertorIgnore()InsertorReplace()InsertorRollback()Insertreplace()Selectselect()java.lang.Stringstring(QueryOptions options)Insertvalue(java.lang.Object value)Insertvalues(ValueHolder values)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.ec.sql.BeforeSelect
select, select, selectSQL
-
Methods inherited from interface de.ec.sql.QueryBuilder
query
-
-
-
-
Constructor Detail
-
Insert
public Insert(java.lang.String table)
-
Insert
public Insert(Table table)
-
Insert
protected Insert(BeforeInsert builder, java.lang.String table)
-
-
Method Detail
-
replace
public Insert replace()
-
orReplace
public Insert orReplace()
-
orRollback
public Insert orRollback()
-
orAbort
public Insert orAbort()
-
orFail
public Insert orFail()
-
orIgnore
public Insert orIgnore()
-
select
public Select select()
- Specified by:
selectin interfaceBeforeSelect
-
column
public InsertValue column(java.lang.String column)
-
column
public Insert column(java.lang.String column, java.lang.Object value)
-
columns
public Insert columns(ValueHolder values)
-
value
public Insert value(java.lang.Object value)
-
values
public Insert values(ValueHolder values)
-
defaults
public Insert defaults()
-
string
public java.lang.String string(QueryOptions options)
-
-