Package com.github.eikecochu.sqlbuilder
Interface BeforeUpdate<T extends BeforeUpdate<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
- All Known Implementing Classes:
With
public interface BeforeUpdate<T extends BeforeUpdate<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the UPDATE statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Updateupdate(Table table)Continue query with UPDATEdefault Updateupdate(Update update)Accept an existing UPDATE statement as predecessordefault Updateupdate(java.lang.String table)Continue query with UPDATEdefault UpdateupdateSQL(java.lang.String sql)Use plain SQL to form this UPDATE statement-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
Method Detail
-
update
default Update update(java.lang.String table)
Continue query with UPDATE- Parameters:
table- The name of table to be updated- Returns:
- The new UPDATE statement
-
update
default Update update(Table table)
Continue query with UPDATE- Parameters:
table- The Table representation of table to be updated- Returns:
- The new UPDATE statement
-
update
default Update update(Update update)
Accept an existing UPDATE statement as predecessor- Parameters:
update- The existing UPDATE statement- Returns:
- Returns the passed UPDATE statement
-
updateSQL
default Update updateSQL(java.lang.String sql)
Use plain SQL to form this UPDATE statement- Parameters:
sql- The sql string- Returns:
- The new UPDATE statement
-
-