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, toString
public Collection getValidDbProducts()
IDbProductRelatable
getValidDbProducts
in interface IDbProductRelatable
getValidDbProducts
in class DefaultDataTypeFactory
IDbProductRelatable.getValidDbProducts()
public static Collection getDatabaseProducts()
public DataType createDataType(int sqlType, String sqlTypeName) throws DataTypeException
IDataTypeFactory
Types
.createDataType
in interface IDataTypeFactory
createDataType
in class DefaultDataTypeFactory
sqlType
- SQL type from Types
sqlTypeName
- Data source dependent type nameDataTypeException
IDataTypeFactory.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.