net.sf.farrago.ddl
Class DdlRelationalHandler
java.lang.Object
net.sf.farrago.ddl.DdlHandler
net.sf.farrago.ddl.DdlRelationalHandler
- All Implemented Interfaces:
- ReflectiveVisitor
public class DdlRelationalHandler
- extends DdlHandler
DdlRelationalHandler defines DDL handler methods for standard relational
objects such as schemas, tables, indexes, and views.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlRelationalHandler.java#47 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
medHandler
protected final DdlMedHandler medHandler
DdlRelationalHandler
public DdlRelationalHandler(DdlMedHandler medHandler)
validateDefinition
public void validateDefinition(CwmCatalog catalog)
validateModification
public void validateModification(CwmCatalog catalog)
validateDefinition
public void validateDefinition(FemLocalSchema schema)
validateModification
public void validateModification(FemLocalSchema schema)
validateDefinition
public void validateDefinition(FemLocalIndex index)
validateModification
public void validateModification(FemLocalIndex index)
validateModification
public void validateModification(FemBaseColumnSet columnSet)
validateDefinition
public void validateDefinition(FemLocalTable table)
validateModification
public void validateModification(FemLocalTable table)
validateLocalTable
public void validateLocalTable(FemLocalTable table,
boolean creation)
validateDefinition
public void validateDefinition(FemLocalView view)
validateViewImpl
private void validateViewImpl(FarragoSession session,
FemLocalView view)
throws Throwable
- Throws:
Throwable
createUniqueConstraintIndex
public FemLocalIndex createUniqueConstraintIndex(FemLocalTable table,
FemAbstractUniqueConstraint constraint)
createConstraintColumnMetadata
private void createConstraintColumnMetadata(FemAbstractUniqueConstraint constraint)
validateDrop
public void validateDrop(FemLocalIndex index)
validateDefinition
public void validateDefinition(FemLabel label)
validateDrop
public void validateDrop(FemLabel label)
executeCreation
public void executeCreation(FemLocalIndex index)
executeCreation
public void executeCreation(FemLabel label)
indexExistingRows
protected void indexExistingRows(FemLocalTable table,
FemLocalIndex index)
executeDrop
public void executeDrop(FemLocalIndex index)
isReplacingType
protected boolean isReplacingType(CwmModelElement obj)