Package com.querydsl.sql.types
Class AbstractType<T>
java.lang.Object
com.querydsl.sql.types.AbstractType<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Type<T>
- Direct Known Subclasses:
AbstractDateTimeType,AbstractJodaTimeDateTimeType,ArrayType,BigDecimalAsDoubleType,BigDecimalType,BigIntegerAsLongType,BigIntegerType,BlobType,BooleanType,BytesType,ByteType,CharacterType,ClobType,CurrencyType,DoubleType,EnumAsObjectType,EnumByNameType,EnumByOrdinalType,FloatType,InputStreamType,IntegerType,LocaleType,LongType,NumericBooleanType,ObjectType,ShortType,SQLXMLType,StringAsObjectType,StringType,TrueFalseType,URLType,UtilUUIDType,XMLAsStringType,YesNoType
Common abstract superclass for Type implementations
- Author:
- tiwe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLiteral(T value) Get the literal representationfinal int[]Get the SQL supported SQL typesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.querydsl.sql.types.Type
getReturnedClass, getValue, setValue
-
Constructor Details
-
AbstractType
public AbstractType(int type)
-
-
Method Details
-
getSQLTypes
public final int[] getSQLTypes()Description copied from interface:TypeGet the SQL supported SQL types- Specified by:
getSQLTypesin interfaceType<T>- Returns:
- sql types
-
getLiteral
Description copied from interface:TypeGet the literal representation- Specified by:
getLiteralin interfaceType<T>- Parameters:
value- value- Returns:
- literal representation
-