org.apache.ws.jaxme.sqls.db2

Interface DB2SQLGenerator

All Superinterfaces:
SQLGenerator
Known Implementing Classes:
DB2SQLGeneratorImpl

public interface DB2SQLGenerator
extends SQLGenerator

Interface of an SQL generator for DB2 databases.
Author:
Jochen Wiedmann

Method Summary

Collection
getCreate(BufferPool pBufferPool)
Returns an SQL statement creating the given BufferPool.
Collection
getCreate(TableSpace pTableSpace)
Returns an SQL statement creating the given TableSpace.
Collection
getDrop(BufferPool pBufferPool)
Returns an SQL statement dropping the given BufferPool.
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 Details

getCreate

public Collection getCreate(BufferPool pBufferPool)
Returns an SQL statement creating the given BufferPool.

getCreate

public Collection getCreate(TableSpace pTableSpace)
Returns an SQL statement creating the given TableSpace.

getDrop

public Collection getDrop(BufferPool pBufferPool)
Returns an SQL statement dropping the given BufferPool.

getDrop

public Collection getDrop(TableSpace pTableSpace)
Returns an SQL statement dropping the given TableSpace.

isCreatingTableSpaceReferences

public boolean isCreatingTableSpaceReferences()
Returns whether the generated CREATE TABLE statements will contain table space references or not. By default they will.

setCreatingTableSpaceReferences

public void setCreatingTableSpaceReferences(boolean pCreatingTableSpaceReferences)
Sets whether the generated CREATE TABLE statements will contain table space references or not. By default they will.