fedora.server.utilities
Interface DDLConverter

All Known Implementing Classes:
McKoiDDLConverter, MySQLDDLConverter, OracleDDLConverter, PostgresDDLConverter

public interface DDLConverter

Interface for a converter of TableSpec objects to RDBMS-specific DDL code.

Implementations of this class must be thread-safe. That is, one instance can be used simultanously without problems. This typically just means that no varying fields should be used.

Implementations must also have a public no-arg constructor.

Version:
$Id: DDLConverter.java 5240 2006-11-27 06:58:12Z cwilper $
Author:
cwilper@cs.cornell.edu

Method Summary
 java.util.List getDDL(TableSpec tableSpec)
           
 java.lang.String getDropDDL(java.lang.String command)
           
 boolean supportsTableType()
           
 

Method Detail

supportsTableType

boolean supportsTableType()

getDDL

java.util.List getDDL(TableSpec tableSpec)

getDropDDL

java.lang.String getDropDDL(java.lang.String command)