org.apache.oozie.util.db
Class SqlStatement.Delete

java.lang.Object
  extended by org.apache.oozie.util.db.SqlStatement
      extended by org.apache.oozie.util.db.SqlStatement.Delete
Enclosing class:
SqlStatement

public static class SqlStatement.Delete
extends SqlStatement

SQL Statement generator for DELETE Statements


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
 String toString()
          Return the DELETE Statement
 SqlStatement.Delete where(SqlStatement.Condition condition)
          Set the where clause for DELETE
 
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

where

public SqlStatement.Delete where(SqlStatement.Condition condition)
Set the where clause for DELETE

Parameters:
condition - condition for where clause
Returns:
Delete for cascading

toString

public String toString()
Return the DELETE Statement

Overrides:
toString in class Object


Copyright © 2013 Apache Software Foundation. All Rights Reserved.