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

public abstract class AbstractType<T> extends Object implements Type<T>
Common abstract superclass for Type implementations
Author:
tiwe
  • Constructor Details

    • AbstractType

      public AbstractType(int type)
  • Method Details

    • getSQLTypes

      public final int[] getSQLTypes()
      Description copied from interface: Type
      Get the SQL supported SQL types
      Specified by:
      getSQLTypes in interface Type<T>
      Returns:
      sql types
    • getLiteral

      public String getLiteral(T value)
      Description copied from interface: Type
      Get the literal representation
      Specified by:
      getLiteral in interface Type<T>
      Parameters:
      value - value
      Returns:
      literal representation