net.sf.farrago.ddl
Class DdlSetContextStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlSetContextStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
- Direct Known Subclasses:
- DdlSetCatalogStmt, DdlSetPathStmt, DdlSetSchemaStmt
public abstract class DdlSetContextStmt
- extends DdlStmt
DdlSetContextStmt is an abstract base class for DDL statements (such as SET
SCHEMA) which modify context variables.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetContextStmt.java#14 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueExpr
private final SqlNode valueExpr
valueString
protected String valueString
parsedExpr
protected SqlNode parsedExpr
DdlSetContextStmt
protected DdlSetContextStmt(SqlNode valueExpr)
requiresCommit
public boolean requiresCommit()
- Specified by:
requiresCommit
in interface FarragoSessionDdlStmt
- Overrides:
requiresCommit
in class DdlStmt
- Returns:
- true if this statement implies an auto-commit before and after
getValueExpression
public SqlNode getValueExpression()
preValidate
public void preValidate(FarragoSessionDdlValidator ddlValidator)
- Description copied from interface:
FarragoSessionDdlStmt
- Called before generic validation.
- Specified by:
preValidate
in interface FarragoSessionDdlStmt
- Overrides:
preValidate
in class DdlStmt
- Parameters:
ddlValidator
- the object validating this stmt
processExpression
private void processExpression(FarragoSession session)
throws Exception
- Throws:
Exception