- All Known Subinterfaces:
- All Known Implementing Classes:
public interface HandlerSimply as a matter of code structuring it is often worthwhile to put all of the execution code into a separate handler (executor) class. This contract helps unify those helpers. Hiding this "behind the strategy" also allows mixing approaches based on the nature of specific queries
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
execute(DomainQueryExecutionContext executionContext)Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.
int execute(DomainQueryExecutionContext executionContext)Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.
executionContext- Contextual information needed for execution
- The "number of rows affected" count