Class StringMapDescriptor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StringMapDescriptor.StringMap
      A simple wrapper class for Map<String, String>.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COLUMN_NAME  
      static int COLUMN_TYPE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StringMapDescriptor()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canBeRemapped()  
      StringMapDescriptor.StringMap fromString​(java.lang.String string)  
      <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder​(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)  
      <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor​(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)  
      static StringMapDescriptor getInstance()  
      org.hibernate.type.descriptor.sql.SqlTypeDescriptor getJdbcRecommendedSqlType​(org.hibernate.type.descriptor.spi.JdbcRecommendedSqlTypeMappingContext context)  
      int getSqlType()  
      <X> X unwrap​(StringMapDescriptor.StringMap value, java.lang.Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)  
      <X> StringMapDescriptor.StringMap wrap​(X value, org.hibernate.type.descriptor.WrapperOptions options)  
      • Methods inherited from class org.hibernate.type.descriptor.java.AbstractTypeDescriptor

        areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
      • 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.java.JavaTypeDescriptor

        toString
      • Methods inherited from interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor

        getJdbcRecommendedJavaTypeMapping
    • Constructor Detail

      • StringMapDescriptor

        protected StringMapDescriptor()
    • Method Detail

      • getJdbcRecommendedSqlType

        public org.hibernate.type.descriptor.sql.SqlTypeDescriptor getJdbcRecommendedSqlType​(org.hibernate.type.descriptor.spi.JdbcRecommendedSqlTypeMappingContext context)
        Specified by:
        getJdbcRecommendedSqlType in interface org.hibernate.type.descriptor.java.BasicJavaDescriptor<StringMapDescriptor.StringMap>
      • getSqlType

        public int getSqlType()
        Specified by:
        getSqlType in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
      • canBeRemapped

        public boolean canBeRemapped()
        Specified by:
        canBeRemapped in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
      • getBinder

        public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder​(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
        Specified by:
        getBinder in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
      • getExtractor

        public <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor​(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
        Specified by:
        getExtractor in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor