org.apache.ws.jaxme.sqls.db2

Interface DB2SQLGenerator

public interface DB2SQLGenerator extends SQLGenerator

Interface of an SQL generator for DB2 databases.

Author: Jochen Wiedmann

Method Summary
CollectiongetCreate(BufferPool pBufferPool)

Returns an SQL statement creating the given BufferPool.

CollectiongetCreate(TableSpace pTableSpace)

Returns an SQL statement creating the given TableSpace.

CollectiongetDrop(BufferPool pBufferPool)

Returns an SQL statement dropping the given BufferPool.

CollectiongetDrop(TableSpace pTableSpace)

Returns an SQL statement dropping the given TableSpace.

booleanisCreatingTableSpaceReferences()

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

voidsetCreatingTableSpaceReferences(boolean pCreatingTableSpaceReferences)

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

Method Detail

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.