net.sf.farrago.ddl
Class DdlSetSchemaStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlSetContextStmt
net.sf.farrago.ddl.DdlSetSchemaStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
public class DdlSetSchemaStmt
- extends DdlSetContextStmt
DdlSetSchemaStmt represents the DDL statement SET SCHEMA.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetSchemaStmt.java#12 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schemaName
private SqlIdentifier schemaName
DdlSetSchemaStmt
public DdlSetSchemaStmt(SqlNode valueExpr)
- Constructss a new DdlSetSchemaStmt.
- Parameters:
valueExpr
- value expression for new catalog
visit
public void visit(DdlVisitor visitor)
- Description copied from class:
DdlStmt
- Invokes a visitor on this statement.
- Specified by:
visit
in class DdlStmt
- Parameters:
visitor
- DdlVisitor to invoke
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 DdlSetContextStmt
- Parameters:
ddlValidator
- the object validating this stmt
getSchemaName
public SqlIdentifier getSchemaName()