proai.util
Class PostgresDDLConverter

java.lang.Object
  extended by proai.util.PostgresDDLConverter
All Implemented Interfaces:
DDLConverter

public class PostgresDDLConverter
extends java.lang.Object
implements DDLConverter

This class is based on Hubert Stigler's contribution to the fedora-users mailing list on April 4th, 2006. It has been modified to create indexes.

Author:
hubert.stigler@uni-graz.at

Constructor Summary
PostgresDDLConverter()
           
 
Method Summary
 java.util.List<java.lang.String> getDDL(TableSpec spec)
           
 java.lang.String getDropDDL(java.lang.String command)
           
 boolean supportsTableType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostgresDDLConverter

public PostgresDDLConverter()
Method Detail

supportsTableType

public boolean supportsTableType()
Specified by:
supportsTableType in interface DDLConverter

getDropDDL

public java.lang.String getDropDDL(java.lang.String command)
Specified by:
getDropDDL in interface DDLConverter

getDDL

public java.util.List<java.lang.String> getDDL(TableSpec spec)
Specified by:
getDDL in interface DDLConverter