org.apache.ws.jaxme.sqls.db2
public class DB2SQLFactoryImpl extends SQLFactoryImpl implements DB2SQLFactory
Default implementation of an SQL factory for DB2 databases. This factory ensures that the created implementations of {@link Schema}, {@link Table}, {@link Column}, and {@link SQLGenerator} may be casted to {@link DB2Schema}, {@link DB2Table}, {@link DB2Column}, {@link DB2SQLGenerator}, respectively.
Nested Class Summary | |
---|---|
class | DB2SQLFactoryImpl.PredefinedTableSpace An immutable, predefined TableSpace. |
Field Summary | |
---|---|
TableSpace | SYSCATSPACE The predefined table space |
TableSpace | TEMPSPACE1 The predefined table space |
TableSpace | USERSPACE1 The predefined table space |
Constructor Summary | |
---|---|
DB2SQLFactoryImpl() |
Method Summary | |
---|---|
TableSpace | getTableSpace(TableSpace.Name pName) |
TableSpace | getTableSpace(String pName) |
Iterator | getTableSpaces() |
Column | newColumn(Table pTable, Column.Name pName, Column.Type pType) |
Schema | newSchemaImpl(Schema.Name pName) |
SQLGenerator | newSQLGenerator() |
Table | newTableImpl(Schema pSchema, Table.Name pName) |
TableSpace | newTableSpace(String pName, TableSpace.Type pType) |
TableSpace | newTableSpace(TableSpace.Name pName, TableSpace.Type pType) |
protected TableSpace | newTableSpaceImpl(TableSpace.Name pName, TableSpace.Type pType) |
The predefined table space SYSCATSPACE
.
The predefined table space TEMPSPACE1
.
The predefined table space USERSPACE1
.