Class AbstractCastingPostGISJdbcType

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void appendWriteExpression​(String writeExpression, org.hibernate.sql.ast.spi.SqlAppender appender, org.hibernate.dialect.Dialect dialect)  
      <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder​(org.hibernate.type.descriptor.java.JavaType<X> javaType)  
      protected abstract String getConstructorFunction()  
      abstract int getDefaultSqlTypeCode()  
      <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor​(org.hibernate.type.descriptor.java.JavaType<X> javaType)  
      <T> org.hibernate.type.descriptor.jdbc.JdbcLiteralFormatter<T> getJdbcLiteralFormatter​(org.hibernate.type.descriptor.java.JavaType<T> javaType)  
      int getJdbcTypeCode()  
      org.geolatte.geom.Geometry<?> toGeometry​(String wkt)  
      • Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType

        addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, getCastType, getCheckCondition, getDdlTypeCode, getExtraCreateTableInfo, getFriendlyName, 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
    • Method Detail

      • getJdbcLiteralFormatter

        public <T> org.hibernate.type.descriptor.jdbc.JdbcLiteralFormatter<T> getJdbcLiteralFormatter​(org.hibernate.type.descriptor.java.JavaType<T> javaType)
        Specified by:
        getJdbcLiteralFormatter in interface org.hibernate.type.descriptor.jdbc.JdbcType
      • getDefaultSqlTypeCode

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

        protected abstract String getConstructorFunction()
      • appendWriteExpression

        public void appendWriteExpression​(String writeExpression,
                                          org.hibernate.sql.ast.spi.SqlAppender appender,
                                          org.hibernate.dialect.Dialect dialect)
        Specified by:
        appendWriteExpression in interface org.hibernate.type.descriptor.jdbc.JdbcType
      • toGeometry

        public org.geolatte.geom.Geometry<?> toGeometry​(String wkt)
      • getJdbcTypeCode

        public int getJdbcTypeCode()
        Specified by:
        getJdbcTypeCode 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