public class PostgresqlDataTypeFactory extends DefaultDataTypeFactory
Derived from work by manuel.laflamme
| Constructor and Description |
|---|
PostgresqlDataTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
DataType |
createDataType(int sqlType,
String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types. |
static Collection |
getDatabaseProducts() |
Collection |
getValidDbProducts()
Returns a set of Strings representing database product names that this object relates to.
|
boolean |
isEnumType(String sqlTypeName)
Returns a data type for the given sql type name if the user wishes one.
|
addToleratedDelta, createDataType, getToleratedDeltaMap, toStringpublic Collection getValidDbProducts()
IDbProductRelatablegetValidDbProducts in interface IDbProductRelatablegetValidDbProducts in class DefaultDataTypeFactoryIDbProductRelatable.getValidDbProducts()public static Collection getDatabaseProducts()
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
IDataTypeFactoryTypes.createDataType in interface IDataTypeFactorycreateDataType in class DefaultDataTypeFactorysqlType - SQL type from TypessqlTypeName - Data source dependent type nameDataTypeExceptionIDataTypeFactory.createDataType(int, java.lang.String)public boolean isEnumType(String sqlTypeName)
sqlTypeName - The sql type name for which users can specify a custom data type.null if the given type name is not a custom
type which is the default implementation.Copyright © 2002-2017. All Rights Reserved.