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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DB2GeometryType(Integer srid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> org.hibernate.type.descriptor.ValueBinder<X>getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType)intgetDefaultSqlTypeCode()<X> org.hibernate.type.descriptor.ValueExtractor<X>getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType)intgetJdbcTypeCode()org.geolatte.geom.Geometry<?>toGeometry(Object object)-
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 Detail
-
DB2GeometryType
public DB2GeometryType(Integer srid)
-
-
Method Detail
-
getJdbcTypeCode
public int getJdbcTypeCode()
- Specified by:
getJdbcTypeCodein interfaceorg.hibernate.type.descriptor.jdbc.JdbcType
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()
- Specified by:
getDefaultSqlTypeCodein interfaceorg.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:
getBinderin interfaceorg.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:
getExtractorin interfaceorg.hibernate.type.descriptor.jdbc.JdbcType
-
toGeometry
public org.geolatte.geom.Geometry<?> toGeometry(Object object)
-
-