net.sf.farrago.ddl
Class DdlSetPathStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlSetContextStmt
          extended by net.sf.farrago.ddl.DdlSetPathStmt
All Implemented Interfaces:
FarragoSessionDdlStmt

public class DdlSetPathStmt
extends DdlSetContextStmt

DdlSetPathStmt represents a statement (SET PATH) that establishes a default SQL-path.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlSetPathStmt.java#14 $
Author:
John V. Sichi

Field Summary
private  List<SqlIdentifier> schemaList
           
 
Fields inherited from class net.sf.farrago.ddl.DdlSetContextStmt
parsedExpr, valueString
 
Constructor Summary
DdlSetPathStmt(SqlNode valueExpr)
          Constructs a new DdlSetPathStmt.
 
Method Summary
 List<SqlIdentifier> getSchemaList()
           
 void preValidate(FarragoSessionDdlValidator ddlValidator)
          Called before generic validation.
 void visit(DdlVisitor visitor)
          Invokes a visitor on this statement.
 
Methods inherited from class net.sf.farrago.ddl.DdlSetContextStmt
getValueExpression, requiresCommit
 
Methods inherited from class net.sf.farrago.ddl.DdlStmt
getModelElement, isDropRestricted, postCommit, postExecute, preExecute, runsAsDml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemaList

private List<SqlIdentifier> schemaList
Constructor Detail

DdlSetPathStmt

public DdlSetPathStmt(SqlNode valueExpr)
Constructs a new DdlSetPathStmt.

Parameters:
valueExpr - value expression for new SQL-path
Method Detail

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

getSchemaList

public List<SqlIdentifier> getSchemaList()