org.sql.generation.implementation.grammar.factories
Class DefaultDataTypeFactory
java.lang.Object
org.sql.generation.implementation.grammar.factories.AbstractDataTypeFactory
org.sql.generation.implementation.grammar.factories.DefaultDataTypeFactory
- All Implemented Interfaces:
- DataTypeFactory
- Direct Known Subclasses:
- PgSQLDataTypeFactoryImpl
public class DefaultDataTypeFactory
- extends AbstractDataTypeFactory
- Author:
- Stanislav Muhametsin
| Methods inherited from class org.sql.generation.implementation.grammar.factories.AbstractDataTypeFactory |
decimal, decimal, numeric, numeric, sqlChar, sqlFloat, sqlVarChar, time, time, time, timeStamp, timeStamp, timeStamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataTypeFactory
public DefaultDataTypeFactory()
bigInt
public BigInt bigInt()
decimal
public Decimal decimal(Integer precision,
Integer scale)
doublePrecision
public DoublePrecision doublePrecision()
numeric
public Numeric numeric(Integer precision,
Integer scale)
real
public Real real()
smallInt
public SmallInt smallInt()
sqlBoolean
public SQLBoolean sqlBoolean()
sqlChar
public SQLChar sqlChar(Integer length)
sqlVarChar
public SQLChar sqlVarChar(Integer length)
date
public SQLDate date()
sqlFloat
public SQLFloat sqlFloat(Integer precision)
integer
public SQLInteger integer()
yearMonthInterval
public SQLInterval yearMonthInterval(IntervalDataType startField,
Integer startFieldPrecision,
IntervalDataType endField)
dayTimeInterval
public SQLInterval dayTimeInterval(IntervalDataType startField,
Integer startFieldPrecision,
IntervalDataType endField,
Integer secondFracs)
time
public SQLTime time(Integer precision,
Boolean withTimeZone)
timeStamp
public SQLTimeStamp timeStamp(Integer precision,
Boolean withTimeZone)
userDefined
public UserDefinedType userDefined(String textualContent)
Copyright © 2010-2011. All Rights Reserved.