org.apache.ws.jaxme.sqls.db2

Interface DB2SQLFactory

public interface DB2SQLFactory extends SQLFactory

Interface of an SQL factory for DB2 databases.

Author: Jochen Wiedmann

Method Summary
TableSpacegetTableSpace(TableSpace.Name pName)

Returns the tablespace with the given name or null, if no such tablespace exists.

TableSpacegetTableSpace(String pName)

Returns the tablespace with the given name or null, if no such tablespace exists.

IteratorgetTableSpaces()

Returns a list of all tablespaces.

TableSpacenewTableSpace(String pName, TableSpace.Type pType)

Creates a new TableSpace with the given name.

TableSpacenewTableSpace(TableSpace.Name pName, TableSpace.Type pType)

Creates a new TableSpace with the given name.

Method Detail

getTableSpace

public TableSpace getTableSpace(TableSpace.Name pName)

Returns the tablespace with the given name or null, if no such tablespace exists.

getTableSpace

public TableSpace getTableSpace(String pName)

Returns the tablespace with the given name or null, if no such tablespace exists.

getTableSpaces

public Iterator getTableSpaces()

Returns a list of all tablespaces. This Iterator does not include the predefined table spaces SYSCATSPACE, TEMPSPACE1, or USERSPACE1. These table spaces are accessible via getTableSpace only.

newTableSpace

public TableSpace newTableSpace(String pName, TableSpace.Type pType)

Creates a new TableSpace with the given name.

newTableSpace

public TableSpace newTableSpace(TableSpace.Name pName, TableSpace.Type pType)

Creates a new TableSpace with the given name.