Package | Description |
---|---|
org.apache.torque.templates.platform |
This package contains classes that provide compatibility to a range of RDBM platforms.
|
org.apache.torque.templates.transformer |
Contains transformers and their helpers throughout the templates.
|
org.apache.torque.templates.typemapping |
Contains transformers and their helpers
for the generation of SQL files.
|
Modifier and Type | Method and Description |
---|---|
SqlType |
Platform.getSqlTypeForSchemaType(SchemaType schemaType)
Returns the db specific SQL type for a Torque type.
|
SqlType |
PlatformDefaultImpl.getSqlTypeForSchemaType(SchemaType schemaType) |
Modifier and Type | Method and Description |
---|---|
protected void |
PlatformDefaultImpl.setSchemaTypeToSqlTypeMapping(SchemaType schemaType,
SqlType sqlType)
Adds a mapping to the torque schema type -> sql type map.
|
Modifier and Type | Method and Description |
---|---|
static SqlType |
SchemaTypeHelper.getDomain(Column column,
ControllerState controllerState) |
static SqlType |
SchemaTypeHelper.getDomain(SourceElement columnElement,
ControllerState controllerState) |
static SqlType |
SchemaTypeHelper.getSqlType(SchemaType schemaType,
SqlType domainType,
ControllerState controllerState,
String size,
String scale,
String defaultValue)
Returns the SQL type for a schema type and the specified target database.
|
Modifier and Type | Method and Description |
---|---|
static SqlType |
SchemaTypeHelper.getSqlType(SchemaType schemaType,
SqlType domainType,
ControllerState controllerState,
String size,
String scale,
String defaultValue)
Returns the SQL type for a schema type and the specified target database.
|
Modifier and Type | Class and Description |
---|---|
class |
SizedForBitDataSqlType
Supports the Derby / DB2 / SQL92 standard for defining Binary data fields
with either CHAR(#) FOR BIT DATA or VARCHAR(#) FOR BIT DATA.
|
Modifier and Type | Method and Description |
---|---|
SqlType |
SizedForBitDataSqlType.getNew(String size,
String scale,
String defaultValue) |
SqlType |
SqlType.getNew(String size,
String scale,
String defaultValue)
Returns a new instance with the given sqlTypeName, size, scale
and default value.
|
Constructor and Description |
---|
SizedForBitDataSqlType(SqlType sqlType,
String size,
String scale,
String defaultValue) |
SqlType(SqlType sqlType,
String size,
String scale,
String defaultValue)
Creates a new SqlType by copying another sql type.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.