org.apache.oozie.util.db
Class SqlStatement.Update
java.lang.Object
org.apache.oozie.util.db.SqlStatement
org.apache.oozie.util.db.SqlStatement.Update
- Enclosing class:
- SqlStatement
public static class SqlStatement.Update
- extends SqlStatement
UPDATE SQL Statement generator
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 |
set
public SqlStatement.Update set(Schema.Column column,
Object value)
- SET clause for update statement
- Parameters:
column
- column namevalue
- A temporary place holder which can be replaced while preparing
- Returns:
Update
for cascading
where
public SqlStatement.Update where(SqlStatement.Condition condition)
- Set condition for updating
- Parameters:
condition
- condition for where clause
- Returns:
Update
for cascading
toString
public String toString()
- Return the UPDATE statement
- Overrides:
toString
in class Object
Copyright © 2013 Apache Software Foundation. All Rights Reserved.