Package de.ec.sql
Class Update
- java.lang.Object
-
- de.ec.sql.Update
-
- All Implemented Interfaces:
BeforeWhere,QueryBuilder,QueryPart
public class Update extends java.lang.Object implements QueryBuilder, BeforeWhere
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classUpdate.UpdateType
-
Constructor Summary
Constructors Modifier Constructor Description protectedUpdate(BeforeUpdate builder, java.lang.String table)Update(Table table)Update(java.lang.String table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateorAbort()UpdateorFail()UpdateorIgnore()UpdateorReplace()UpdateorRollback()Updateset(ValueHolder values)UpdateValueset(java.lang.String column)Updateset(java.lang.String column, java.lang.Object value)java.lang.Stringstring(QueryOptions options)-
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.BeforeWhere
where, where, where, whereSQL
-
Methods inherited from interface de.ec.sql.QueryBuilder
query
-
-
-
-
Constructor Detail
-
Update
public Update(java.lang.String table)
-
Update
public Update(Table table)
-
Update
protected Update(BeforeUpdate builder, java.lang.String table)
-
-
Method Detail
-
orRollback
public Update orRollback()
-
orAbort
public Update orAbort()
-
orFail
public Update orFail()
-
orReplace
public Update orReplace()
-
orIgnore
public Update orIgnore()
-
set
public UpdateValue set(java.lang.String column)
-
set
public Update set(java.lang.String column, java.lang.Object value)
-
set
public Update set(ValueHolder values)
-
string
public java.lang.String string(QueryOptions options)
-
-