Class DB2GeometryType

java.lang.Object
org.hibernate.spatial.dialect.db2.DB2GeometryType
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.jdbc.JdbcType

public class DB2GeometryType extends Object implements org.hibernate.type.descriptor.jdbc.JdbcType
Type Descriptor for the DB2 Geometry type (as Clob)

Created by Karel Maesen, Geovise BVBA, and David Adler, Adtech Geospatial

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <X> org.hibernate.type.descriptor.ValueBinder<X>
    getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType)
     
    int
     
    <X> org.hibernate.type.descriptor.ValueExtractor<X>
    getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType)
     
    int
     
    org.geolatte.geom.Geometry<?>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType

    addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
  • Constructor Details

    • DB2GeometryType

      public DB2GeometryType(Integer srid)
  • Method Details

    • getJdbcTypeCode

      public int getJdbcTypeCode()
      Specified by:
      getJdbcTypeCode in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • getDefaultSqlTypeCode

      public int getDefaultSqlTypeCode()
      Specified by:
      getDefaultSqlTypeCode in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • getBinder

      public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType)
      Specified by:
      getBinder in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • getExtractor

      public <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType)
      Specified by:
      getExtractor in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • toGeometry

      public org.geolatte.geom.Geometry<?> toGeometry(Object object)