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

All Superinterfaces:
SQLFactory
All Known Implementing Classes:
DB2SQLFactoryImpl

public interface DB2SQLFactory
extends SQLFactory

Interface of an SQL factory for DB2 databases.

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes inherited from class org.apache.ws.jaxme.sqls.SQLFactory
SQLFactory.Ident
 
Method Summary
 TableSpace getTableSpace(java.lang.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.
 java.util.Iterator getTableSpaces()
          Returns a list of all tablespaces.
 TableSpace newTableSpace(java.lang.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, newSchema, newSchema, newSelectStatement, newSQLGenerator, newUpdateStatement
 

Method Detail

newTableSpace

public TableSpace newTableSpace(java.lang.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.


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(java.lang.String pName)

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


getTableSpaces

public java.util.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(TableSpace.Name) only.