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>>

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 delete clause and return the amount of deleted rows/items
 ColDeleteClause<T> where(EBoolean... o)
          Defines the filter constraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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: DeleteClause
Execute the delete clause and return the amount of deleted rows/items

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

where

public ColDeleteClause<T> where(EBoolean... o)
Description copied from interface: DeleteClause
Defines the filter constraints

Specified by:
where in interface DeleteClause<ColDeleteClause<T>>
Returns:


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