org.apache.ws.jaxme.sqls.db2

Interface DB2SQLFactory

All Superinterfaces:
SQLFactory
Known Implementing Classes:
DB2SQLFactoryImpl

public interface DB2SQLFactory
extends SQLFactory

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

Method Summary

TableSpace
getTableSpace(String pName)
Returns the tablespace with the given name or null, if no such tablespace exists.
TableSpace
getTableSpace(TableSpace.Name pName)
Returns the tablespace with the given name or null, if no such tablespace exists.
Iterator
getTableSpaces()
Returns a list of all tablespaces.
TableSpace
newTableSpace(String pName, TableSpace.Type pType)
Creates a new TableSpace with the given name.
TableSpace
newTableSpace(TableSpace.Name pName, TableSpace.Type pType)
Creates a new TableSpace with the given name.

Methods inherited from interface org.apache.ws.jaxme.sqls.SQLFactory

getDefaultSchema, getMaxColumnNameLength, getMaxSchemaNameLength, getMaxTableNameLength, getObjectFactory, getSchema, getSchema, getSchema, getSchema, getSchemas, getTable, getTable, isColumnNameCaseSensitive, isSchemaNameCaseSensitive, isTableNameCaseSensitive, newDeleteStatement, newInsertStatement, newSQLGenerator, newSchema, newSchema, newSelectStatement, newUpdateStatement

Method Details

getTableSpace

public TableSpace getTableSpace(String pName)
Returns the tablespace with the given name or null, if no such tablespace exists.

getTableSpace

public TableSpace getTableSpace(TableSpace.Name pName)
Returns the tablespace with the given name or null, if no such tablespace exists.

getTableSpaces

public Iterator getTableSpaces()

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.