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.


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

Method Detail

validateStatement

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 Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.