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,
java.lang.String sqlTypeName)
Returns the DataType object that corresponds to the specified
Types. |
static java.util.Collection |
getDatabaseProducts() |
java.util.Collection |
getValidDbProducts()
Returns a set of Strings representing database product names that this object relates to.
|
boolean |
isEnumType(java.lang.String sqlTypeName)
Returns a data type for the given sql type name if the user wishes one.
|
addToleratedDelta, createDataType, getToleratedDeltaMap, toStringpublic java.util.Collection getValidDbProducts()
IDbProductRelatablegetValidDbProducts in interface IDbProductRelatablegetValidDbProducts in class DefaultDataTypeFactoryIDbProductRelatable.getValidDbProducts()public static java.util.Collection getDatabaseProducts()
public DataType createDataType(int sqlType, java.lang.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(java.lang.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-2018. All Rights Reserved.