com.mysema.query.collections
Class ColDeleteClause<T>

java.lang.Object
  extended by com.mysema.query.collections.ColDeleteClause<T>
Type Parameters:
T -
All Implemented Interfaces:
DeleteClause<ColDeleteClause<T>>, DMLClause<ColDeleteClause<T>>, FilteredClause<ColDeleteClause<T>>

public class ColDeleteClause<T>
extends Object
implements DeleteClause<ColDeleteClause<T>>

ColDeleteClause is an implementation of the DeleteClause interface for the Querydsl Collections module

Author:
tiwe

Constructor Summary
ColDeleteClause(Path<T> expr, Collection<? extends T> col)
           
ColDeleteClause(QueryEngine qe, Path<T> expr, Collection<? extends T> col)
           
 
Method Summary
 long execute()
          Execute the clause and return the amount of affected rows
 String toString()
           
 ColDeleteClause<T> where(Predicate... o)
          Adds the given filter conditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColDeleteClause

public ColDeleteClause(QueryEngine qe,
                       Path<T> expr,
                       Collection<? extends T> col)

ColDeleteClause

public ColDeleteClause(Path<T> expr,
                       Collection<? extends T> col)
Method Detail

execute

public long execute()
Description copied from interface: DMLClause
Execute the clause and return the amount of affected rows

Specified by:
execute in interface DMLClause<ColDeleteClause<T>>
Returns:

where

public ColDeleteClause<T> where(Predicate... o)
Description copied from interface: FilteredClause
Adds the given filter conditions

Specified by:
where in interface FilteredClause<ColDeleteClause<T>>
Parameters:
o - filter conditions to be added
Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.