Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package org.springframework.data.querydsl;


import com.querydsl.core.types.Predicate;

/**
* Interface to allow execution of QueryDsl modifying {@link Predicate} instances.
*
* @author Nikita Mishchenko
*/
public interface QueryDslPredicateModifyingExecutor {

/**
* Delete all entities matching the given {@link Predicate}.
*
* @return the number of all entities affected by the given {@link Predicate}.
*/
long delete(Predicate... predicate);

}