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

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

public static class SqlStatement.Insert
extends SqlStatement

INSERT 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
 String toString()
          Return the INSERT Statement
 SqlStatement.Insert value(Schema.Column column, Object value)
          Set the VALUES that are to be inserted
 
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

value

public SqlStatement.Insert value(Schema.Column column,
                                 Object value)
Set the VALUES that are to be inserted

Parameters:
column -
value - A temporary place holder which will be replaced while preparing
Returns:

toString

public String toString()
Return the INSERT Statement

Overrides:
toString in class Object


Copyright © 2013 Apache Software Foundation. All Rights Reserved.