com.googlecode.jpattern.orm.query
Interface IDelete

All Superinterfaces:
IRenderableSqlObject
All Known Implementing Classes:
OrmDelete

public interface IDelete
extends IRenderableSqlObject

Author:
Francesco Cina 10/lug/2011

Method Summary
 void appendValues(List<Object> values)
          Append to the list all the values of the expression's elements
 int getQueryTimeout()
          Return the query timeout for the query.
 int perform()
          Perform the update and return the number of affected rows.
 IDelete setQueryTimeout(int queryTimeout)
          Set the query timeout for the query.
 IExpression where()
          Create or modify the "WHERE" clause of the statement.
 
Methods inherited from interface com.googlecode.jpattern.orm.query.IRenderableSqlObject
renderSql, renderSql
 

Method Detail

where

IExpression where()
Create or modify the "WHERE" clause of the statement.

Returns:

perform

int perform()
Perform the update and return the number of affected rows.

Returns:

appendValues

void appendValues(List<Object> values)
Append to the list all the values of the expression's elements


setQueryTimeout

IDelete setQueryTimeout(int queryTimeout)
Set the query timeout for the query.


getQueryTimeout

int getQueryTimeout()
Return the query timeout for the query.



Copyright © 2011. All Rights Reserved.