|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.util.db.SqlStatement
org.apache.oozie.util.db.SqlStatement.Update
public static class SqlStatement.Update
UPDATE SQL Statement generator
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.oozie.util.db.SqlStatement |
---|
SqlStatement.Condition, SqlStatement.Delete, SqlStatement.Insert, SqlStatement.ResultSetReader, SqlStatement.Select, SqlStatement.Update |
Field Summary |
---|
Fields inherited from class org.apache.oozie.util.db.SqlStatement |
---|
forUpdate, sb, values |
Method Summary | |
---|---|
SqlStatement.Update |
set(Schema.Column column,
java.lang.Object value)
SET clause for update statement |
java.lang.String |
toString()
Return the UPDATE statement |
SqlStatement.Update |
where(SqlStatement.Condition condition)
Set condition for updating |
Methods inherited from class org.apache.oozie.util.db.SqlStatement |
---|
and, between, deleteFrom, getCount, getNewStatementWithValues, greaterThan, greaterThanOrEqual, in, in, insertInto, isEqual, isLike, isNotEqual, isNotLike, isNotNull, isNull, lessThan, lessThanOrEqual, notBetween, notIn, notIn, or, parse, prepare, prepare, prepareAndSetValues, prepareForBatch, selectAllFrom, selectColumns, setValue, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public SqlStatement.Update set(Schema.Column column, java.lang.Object value)
column
- column namevalue
- A temporary place holder which can be replaced while preparing
Update
for cascadingpublic SqlStatement.Update where(SqlStatement.Condition condition)
condition
- condition for where clause
Update
for cascadingpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |