org.apache.derby.iapi.sql.execute
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.

Author:
jamie

Method Summary
 void validateStatement(ConstantAction constantAction)
          Validate the statement.
 

Method Detail

validateStatement

public void validateStatement(ConstantAction constantAction)
                       throws StandardException
Validate the statement.

Parameters:
constantAction - The constant action that we are about to execute.
Throws:
StandardException - on error
See Also:
ConstantAction

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.