public final class OptionalPrecisionType extends AbstractType
PARAM_POSTFIX_DECIMALS, PARAM_POSTFIX_LENGTH, PARAM_POSTFIX_PRECISION, PARAM_PREFIX| Constructor and Description |
|---|
OptionalPrecisionType(String jdbcType,
String sqlType,
DDLGenConfiguration conf)
Construct a new TypeInfo instance with given JDBC type, SQL type and Configuration.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toDDL(Field field)
Build DDL string with SQL type and parameters.
|
getJdbcType, getSqlType, mergepublic OptionalPrecisionType(String jdbcType, String sqlType, DDLGenConfiguration conf)
jdbcType - The JDBC type.sqlType - The SQL type.conf - The configuration to get default parameter values from.Copyright © 2014. All rights reserved.