org.apache.ws.jaxme.sqls.db2
Interface DB2SQLGenerator

All Superinterfaces:
SQLGenerator
All Known Implementing Classes:
DB2SQLGeneratorImpl

public interface DB2SQLGenerator
extends SQLGenerator

Interface of an SQL generator for DB2 databases.

Author:
Jochen Wiedmann

Method Summary
 java.util.Collection getCreate(BufferPool pBufferPool)
          Returns an SQL statement creating the given BufferPool.
 java.util.Collection getCreate(TableSpace pTableSpace)
          Returns an SQL statement creating the given TableSpace.
 java.util.Collection getDrop(BufferPool pBufferPool)
          Returns an SQL statement dropping the given BufferPool.
 java.util.Collection getDrop(TableSpace pTableSpace)
          Returns an SQL statement dropping the given TableSpace.
 boolean isCreatingTableSpaceReferences()
          Returns whether the generated CREATE TABLE statements will contain table space references or not.
 void setCreatingTableSpaceReferences(boolean pCreatingTableSpaceReferences)
          Sets whether the generated CREATE TABLE statements will contain table space references or not.
 
Methods inherited from interface org.apache.ws.jaxme.sqls.SQLGenerator
getConstraint, getCreate, getCreate, getCreate, getCreate, getCreate, getCreate, getDrop, getDrop, getDrop, getDrop, getDrop, getDrop, getLineTerminator, getQuery, getStatementTerminator, getWhereClause, setLineTerminator, setStatementTerminator
 

Method Detail

getCreate

java.util.Collection getCreate(BufferPool pBufferPool)

Returns an SQL statement creating the given BufferPool.


getDrop

java.util.Collection getDrop(BufferPool pBufferPool)

Returns an SQL statement dropping the given BufferPool.


getCreate

java.util.Collection getCreate(TableSpace pTableSpace)

Returns an SQL statement creating the given TableSpace.


getDrop

java.util.Collection getDrop(TableSpace pTableSpace)

Returns an SQL statement dropping the given TableSpace.


setCreatingTableSpaceReferences

void setCreatingTableSpaceReferences(boolean pCreatingTableSpaceReferences)

Sets whether the generated CREATE TABLE statements will contain table space references or not. By default they will.


isCreatingTableSpaceReferences

boolean isCreatingTableSpaceReferences()

Returns whether the generated CREATE TABLE statements will contain table space references or not. By default they will.