Interface ExecutionStmtValidator
- All Known Implementing Classes:
InternalTriggerExecutionContext
public interface ExecutionStmtValidator
An ExecutionStatementValidator is an object that is
handed a ConstantAction and asked whether it is ok for
this result set to execute. When something like
a trigger is executing, one of these gets pushed.
Before execution, each validator that has been pushed
is invoked on the result set that we are about to
execution. It is up to the validator to look at
the result set and either complain (throw an exception)
or let it through.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateStatement
(ConstantAction constantAction) Validate the statement.
-
Method Details
-
validateStatement
Validate the statement.- Parameters:
constantAction
- The constant action that we are about to execute.- Throws:
StandardException
- on error- See Also:
-