net.sf.farrago.ddl
Class DdlSetCatalogStmt
java.lang.Object
net.sf.farrago.ddl.DdlStmt
net.sf.farrago.ddl.DdlSetContextStmt
net.sf.farrago.ddl.DdlSetCatalogStmt
- All Implemented Interfaces:
- FarragoSessionDdlStmt
public class DdlSetCatalogStmt
- extends DdlSetContextStmt
DdlSetCatalogStmt represents the DDL statement SET CATALOG.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetCatalogStmt.java#11 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
catalogName
private SqlIdentifier catalogName
DdlSetCatalogStmt
public DdlSetCatalogStmt(SqlNode valueExpr)
- Constructs a new DdlSetCatalogStmt.
- 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
getCatalogName
public SqlIdentifier getCatalogName()