fedora.server.utilities
Class PostgresDDLConverter

java.lang.Object
  extended by fedora.server.utilities.PostgresDDLConverter
All Implemented Interfaces:
DDLConverter

public class PostgresDDLConverter
extends java.lang.Object
implements DDLConverter

A DDLConverter that works with Postgres. 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.

Version:
$Id: PostgresDDLConverter.java 5309 2006-12-05 20:20:13Z cwilper $
Author:
hubert.stigler@uni-graz.at

Constructor Summary
PostgresDDLConverter()
           
 
Method Summary
 java.util.List 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 getDDL(TableSpec spec)
Specified by:
getDDL in interface DDLConverter